Expected Behaviour
Release the extension without error if the flag --verbose is not specified
Actual Behaviour
Doesn't release the extension. The following error is thrown: TypeError: Cannot read properties of undefined (reading 'verbose')"
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Platform and Version
Node.js v20.12.2
@adobe/reactor-releaser@v4.0.0-beta.3
Sample Code that illustrates the problem
# In a wordking directory with an extension that can be released
npx @adobe/reactor-releaser --confirm-package-release --verbose
Logs taken while reproducing problem
[REDACTED]/node_modules/@adobe/reactor-releaser/bin/getExtensionPackageFromServer.js:24
if (argv.verbose) {
^
TypeError: Cannot read properties of undefined (reading 'verbose')
at module.exports ([REDACTED]/node_modules/@adobe/reactor-releaser/bin/getExtensionPackageFromServer.js:24:12)
at [REDACTED]/node_modules/@adobe/reactor-releaser/bin/index.js:87:46
See f3b974a#r140976383
Expected Behaviour
Release the extension without error if the flag
--verboseis not specifiedActual Behaviour
Doesn't release the extension. The following error is thrown: TypeError: Cannot read properties of undefined (reading 'verbose')"
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Platform and Version
Node.js v20.12.2
@adobe/reactor-releaser@v4.0.0-beta.3
Sample Code that illustrates the problem
# In a wordking directory with an extension that can be released npx @adobe/reactor-releaser --confirm-package-release --verboseLogs taken while reproducing problem
See f3b974a#r140976383