Skip to content

Commit

Permalink
Second patch.
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Jan 4, 2019
1 parent 0b4ec82 commit 74cc874
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,12 @@ function css(css, file) {
chalk`{green Finished {bold ${relativePath}} in {bold ${prettyTime}}}`
)

if (result.messages.length) {
const messages = result.warnings()
if (messages.length) {
console.warn(
reporter(
Object.assign({}, result, {
messages: result.warnings()
messages
})
)
)
Expand Down

0 comments on commit 74cc874

Please sign in to comment.