Skip to content

Output errors to stderr #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 3, 2019
Merged

Output errors to stderr #10

merged 2 commits into from
Oct 3, 2019

Conversation

codehearts
Copy link
Contributor

This commit outputs CLI errors to stderr, and outputs legacy package name warnings to stderr as well to close out #4

The outputs are covered by tests, including the CLI interface

This commit introduces integration tests for the CLI interface
- Verify 0 is returned on success
- Verify 1 is returned on failure
- Verify verbose error output goes to stderr
This commit adds a test to ensure the warning is to stderr
@azu azu merged commit aaef299 into azu:master Oct 3, 2019
@azu
Copy link
Owner

azu commented Oct 3, 2019

@codehearts Thanks! Nice Catch!

I've released it as 1.3.2
https://github.com/azu/can-npm-publish/releases/tag/1.3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants