Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

[BUG] executing nonfound package has zero exit code #100

Open
mjroeleveld opened this issue Feb 26, 2021 · 0 comments
Open

[BUG] executing nonfound package has zero exit code #100

mjroeleveld opened this issue Feb 26, 2021 · 0 comments

Comments

@mjroeleveld
Copy link

mjroeleveld commented Feb 26, 2021

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant