Skip to content

Commit 74cc874

Browse files
committed
Second patch.
1 parent 0b4ec82 commit 74cc874

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,11 +235,12 @@ function css(css, file) {
235235
chalk`{green Finished {bold ${relativePath}} in {bold ${prettyTime}}}`
236236
)
237237

238-
if (result.messages.length) {
238+
const messages = result.warnings()
239+
if (messages.length) {
239240
console.warn(
240241
reporter(
241242
Object.assign({}, result, {
242-
messages: result.warnings()
243+
messages
243244
})
244245
)
245246
)

0 commit comments

Comments
 (0)