gulp-clean-css icon indicating copy to clipboard operation
gulp-clean-css copied to clipboard

Consider aborting on errors after calling user-supplied callback.

Open paulmer opened this issue 5 years ago • 0 comments
trafficstars

Calling cb(errmsg) before the user supplied callback to the gulp-clean-css plugin deprives the callback of the opportunity to process or display the warning and error messages generated by the CleanCSS library. Deferring the error until after the callback is executed will make the diagnostic information in the errors and warnings useful.

paulmer avatar Mar 31 '20 15:03 paulmer