Skip to content

Commit 446cf4f

Browse files
author
Jed Mao
committed
Fix warnings
1 parent 4f92a73 commit 446cf4f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -380,9 +380,7 @@ function readImportedContent(
380380
.then(function() {
381381
return processor.process(newStyles)
382382
.then(function(newResult) {
383-
newResult.warnings().forEach(function(message) {
384-
result.warn(message)
385-
})
383+
result.messages = result.messages.concat(newResult.messages)
386384
})
387385
})
388386
.then(function() {

0 commit comments

Comments
 (0)