node-cssmin icon indicating copy to clipboard operation
node-cssmin copied to clipboard

Supressing log

Open adamreisnz opened this issue 7 years ago • 0 comments

Hello,

cssmin is logging output to stderr or exiting with non-zero exit code, which is causing an error to be logged in our Maven build process, even though it completes fine, e.g.:

[INFO] $ run-p build:js build:css -s
[INFO] $ node-sass app/index.scss dist/foo.css --quiet
[INFO] $ postcss dist/foo.css -o dist/foo.css --use autoprefixer -b 'last 2 versions'
[ERROR] ✔ Finished dist/foo.css (361 ms)
[INFO] Done in 10.47s.

I've tried to look for a CLI option to silence logging but couldn't find any. Is there any way to supress these success log messages?

adamreisnz avatar Feb 09 '18 04:02 adamreisnz