[BUG] executing nonfound package has zero exit code
mjroeleveld opened this issue · 0 comments
mjroeleveld commented
What / Why
Executing a command of a package that is not found, returns a zero exit code. Unless specified it seems undesired behavior in a normal shell.
When
Running npx <package> -- <command>
of any package that doesn't exist locally.
Where
- n/a
How
Current Behavior
> npx <package> --help
> echo $?
> 0
Steps to Reproduce
- n/a
Expected Behavior
> npx <package> --help
> echo $?
> 1
Who
- n/a
References
- n/a