You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When invalid arguments are passed on the command line the program still runs successfully, ignoring any arguments it doesn't know about. I discovered this by accident when running it for the first time (ever): npx commit-and-tag-version --dr-run (note the misspelled word "dry").
Current behavior
Running npx commit-and-tag-version --dryrun results in the changelog being generated, version bumped, committed, and tagged.
Expected behavior
The program should exit with an error, potentially displaying the help
Environment
commit-and-tag-version version(s): 11.2.0
Node/npm version: Node 16.19.0, npm 9.3.0
OS: PopOS 22.04
The text was updated successfully, but these errors were encountered:
Describe the bug
When invalid arguments are passed on the command line the program still runs successfully, ignoring any arguments it doesn't know about. I discovered this by accident when running it for the first time (ever):
npx commit-and-tag-version --dr-run
(note the misspelled word "dry").Current behavior
Running
npx commit-and-tag-version --dryrun
results in the changelog being generated, version bumped, committed, and tagged.Expected behavior
The program should exit with an error, potentially displaying the help
Environment
commit-and-tag-version
version(s): 11.2.0The text was updated successfully, but these errors were encountered: