-
Notifications
You must be signed in to change notification settings - Fork 744
Commands that have multiple errors now produce cleaner log output #268
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
Conversation
|
Update: I updated the tests to support the new error output format (which has no trailing newline). I slightly modified the tests by moving the I added support for stderr. Error messages for commands will now be printed to stderr by default (which is more consistent with unix utilities). Also, Because stdout and stderr are no longer combined together into |
…rors are echoed to stderr. exec() supports a new stderr field.
Change `exec.output` to `exec.stdout` and deprecate `output`.
|
@ariporad This should be ready for review now. This deprecates the old |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a duplicate line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which does it duplicate? That's meant to replace the original !fs.existsSync(codeFile) line. It differs from the next line, which uses !fs.existsSync(stdoutFile)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yeah, you're right.
|
I made one comment, but other than that, LGTM! |
|
LGTM! |
Commands that have multiple errors now produce cleaner log output
This is a fix for #267. The new behavior can be seen to be as such:
This is comparable to the Bash behavior:
Fixes #267, #209.