gm3dmo/the-power

configure.py: error: argument --pr-approver-name: expected one argument

mokshadharma opened this issue · 1 comments

Describe the bug
when running zdpower foo I get an error: "configure.py: error: argument --pr-approver-name: expected one argument"

To Reproduce
Steps to reproduce the behavior:

  1. zdpower foo
  2. get the following output:
%  zdpower foo
Cloning into 'foo'...
remote: Enumerating objects: 2513, done.
remote: Counting objects: 100% (686/686), done.
remote: Compressing objects: 100% (541/541), done.
remote: Total 2513 (delta 392), reused 271 (delta 140), pack-reused 1827
Receiving objects: 100% (2513/2513), 2.72 MiB | 1.33 MiB/s, done.
Resolving deltas: 100% (1407/1407), done.
./dotcom-configure.sh /Users/mokshadharma/.the-power-dotcom.conf repo-foo
usage: configure.py [-h] [-o ORG] [-b BASE_BRANCH] [-d CONFIGURE_GITHUB_APP] [-a APP_ID] [-i INSTALLATION_ID] [-e CLIENT_ID] [-u ADMIN_USER]
                    [--admin-password ADMIN_PASSWORD] [-w WEBHOOK_URL] [--number-of-users NUMBER_OF_USERS_TO_CREATE_ON_GHES]
                    [--runner-version RUNNER_VERSION] [--runner-os RUNNER_OS] [--runner-platform RUNNER_PLATFORM] [-c DOTCOM_CONFIG] [-r REPO_NAME]
                    [-n HOSTNAME] [-t TOKEN] [-l LOGLEVEL] [-p PRIMER] [--private-pem-file PRIVATE_PEM_FILE] [--number-of-orgs NUMBER_OF_ORGS]
                    [--number-of-repos NUMBER_OF_REPOS] [--number-of-teams NUMBER_OF_TEAMS] [--number-of-branches NUMBER_OF_BRANCHES]
                    [--team-members TEAM_MEMBERS] [--team-admin TEAM_ADMIN] [--default-committer DEFAULT_COMMITTER] [--allow-auto-merge ALLOW_AUTO_MERGE]
                    [--delete-branch-on-merge DELETE_BRANCH_ON_MERGE] [--enterprise-name ENTERPRISE_NAME] [--pr-approver-token PR_APPROVER_TOKEN]
                    [--pr-approver-name PR_APPROVER_NAME] [--preferred_client PREFERRED_CLIENT] [--custom-curl-flags CURL_CUSTOM_FLAGS]
                    [--preferred_browser PREFERRED_BROWSER] [--preferred_browser_mode PREFERRED_BROWSER_MODE] [--github-api-version GITHUB_API_VERSION]
configure.py: error: argument --pr-approver-name: expected one argument

Expected behavior
successful run without errors

Screenshots
N/A

Desktop (please complete the following information):

  • OS: MacOS Ventura 13.2.1
  • Browser: None
  • Version: N/A

Additional context
none

fixed by refreshing the skeleton configuration file.