Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

fix(cli): option --quiet now properly suppresses all stdout except in case of error #2481

Closed
wants to merge 3 commits into from

Conversation

zieka
Copy link

@zieka zieka commented Aug 23, 2018

The --quiet option is supposed to "Suppress log output except on error"; however, it currently is only suppressing warn and info level and lets log level through to stdout.

An example of this is if you ran node-sass --quiet /some/file.scss you would expect this to only emit on error for use in say a CI stage. However, this currently will output the entire resulting .css to stdout.

This PR changes this to properly suppress log output except on error.

@zieka zieka changed the title --quiet now properly suppresses all stdout except in case of error fix(cli): --quiet now properly suppresses all stdout except in case of error Sep 20, 2018
@zieka zieka closed this Oct 1, 2018
@zieka zieka reopened this Oct 1, 2018
@zieka zieka changed the title fix(cli): --quiet now properly suppresses all stdout except in case of error fix(cli): option --quiet now properly suppresses all stdout except in case of error Oct 18, 2018
@zieka zieka closed this Feb 20, 2019
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