Skip to content
This repository was archived by the owner on Dec 26, 2018. It is now read-only.

Commit f77be62

Browse files
mgrinspanyyx990803
authored andcommitted
Fixed Node deprecated warning (#163)
1 parent 4e9eea8 commit f77be62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/extract-css.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = function (b, opts) {
1818
outPath.write(css)
1919
outPath.end()
2020
} else if (typeof outPath === 'string') {
21-
fs.writeFile(outPath, css)
21+
fs.writeFile(outPath, css, function () {})
2222
}
2323
})
2424
})

0 commit comments

Comments
 (0)