"npm asdf" returns exit code 0 #4780

joliss opened this Issue Feb 25, 2014 · 1 comment


None yet

3 participants


"npm asdf" shows usage info but returns with exit code 0. It should be a non-zero exit code.

My npm version is 1.3.21.

npm member

+1 such bug much patch so welcome

@evanlucas evanlucas added a commit to evanlucas/npm that referenced this issue Feb 25, 2014
@evanlucas evanlucas Don't return 0 exit code on invalid command
Fixes #4780
@domenic domenic closed this in 057d9b7 Apr 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment