We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54cdf3a commit 9ab9a2fCopy full SHA for 9ab9a2f
1 file changed
index.js
@@ -232,9 +232,13 @@ function css(css, file) {
232
chalk`{green Finished {bold ${relativePath}} in {bold ${prettyTime}}}`
233
)
234
235
- if (result.warnings().length) {
236
- console.warn(reporter(result))
237
- }
+ console.warn(
+ reporter(
+ Object.assign({}, result, {
238
+ messages: result.warnings()
239
+ })
240
+ )
241
242
243
return result
244
})
0 commit comments