From 00835df5fd461d4c7c64b85d548031e91a7ee5c8 Mon Sep 17 00:00:00 2001 From: Mike Date: Wed, 7 Dec 2016 16:54:17 -0500 Subject: [PATCH] Fixed Node deprecated warning --- plugins/extract-css.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/extract-css.js b/plugins/extract-css.js index 740bb80..1b83eb6 100644 --- a/plugins/extract-css.js +++ b/plugins/extract-css.js @@ -18,7 +18,7 @@ module.exports = function (b, opts) { outPath.write(css) outPath.end() } else if (typeof outPath === 'string') { - fs.writeFile(outPath, css) + fs.writeFile(outPath, css, function () {}) } }) })