diff --git a/lib/config/cli.ts b/lib/config/cli.ts index e6945c35dece433eabe1fea2b5cb60076f8d773d..e7e64a036a4169688d68744322a242bb039c6269 100644 --- a/lib/config/cli.ts +++ b/lib/config/cli.ts @@ -73,6 +73,7 @@ export function getConfig(input: string[]): GlobalConfig { let program = new Command() .storeOptionsAsProperties(false) + .passCommandToAction(false) .arguments('[repositories...]'); options.forEach((option) => { diff --git a/package.json b/package.json index 1280447d93bdec8ecb5ecb7b7441ab6e27b6ba70..4451aa9582136dd4d5c921a1c92af1727be24c60 100644 --- a/package.json +++ b/package.json @@ -127,7 +127,7 @@ "chalk": "4.1.0", "changelog-filename-regex": "2.0.1", "clean-git-ref": "2.0.1", - "commander": "7.0.0", + "commander": "6.2.1", "conventional-commits-detector": "1.0.3", "crypto-random-string": "3.3.0", "deepmerge": "4.2.2", diff --git a/tools/package.json b/tools/package.json index 21c7cf8a2643de2be2997226db9ab765ea6ec6e5..de83be1a4d197352c67af5da56467ae9d3720f40 100644 --- a/tools/package.json +++ b/tools/package.json @@ -5,7 +5,7 @@ "@actions/core": "1.2.6", "@jest/reporters": "26.6.2", "@jest/test-result": "26.6.2", - "commander": "7.0.0", + "commander": "6.2.1", "eslint": "7.12.1", "fs-extra": "9.1.0", "got": "11.8.1", diff --git a/yarn.lock b/yarn.lock index b7d03c267b0429d78982e36911300cfdc777d570..a0332ac33d9c44d730738527afb44c9f9bd93afe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3663,10 +3663,10 @@ combined-stream@^1.0.6, combined-stream@~1.0.6: dependencies: delayed-stream "~1.0.0" -commander@7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-7.0.0.tgz#3e2bbfd8bb6724760980988fb5b22b7ee6b71ab2" - integrity sha512-ovx/7NkTrnPuIV8sqk/GjUIIM1+iUQeqA3ye2VNpq9sVoiZsooObWlQy+OPWGI17GDaEoybuAGJm6U8yC077BA== +commander@6.2.1: + version "6.2.1" + resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c" + integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA== commander@^4.0.1: version "4.1.1"