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
fix: Exit with code 1 when nyc doesn't know what to do. (#1070)
When nyc is not told to do anything this is an error. We already
printed the help message to stderr, now we exit with code 1 to indicate
that nyc exited without doing anything.
Add a test to cover this edge case and verify that both `nyc` and `nyc
--help` produce output as expected to stdout and stderr, exit with the
proper code.
0 commit comments