Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Conversation

@mwoc
Copy link

@mwoc mwoc commented Feb 13, 2015

When a CLI tool using nomnom is hooked up to write to stdout, it's problematic if console.log is used to report usage errors, as the error message would then be written to stdout instead of stderr.

This commit makes it use console.error instead for non-zero exit codes, which fixes our use case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant