From fd13fa4dae00b80a7b1b5892717c81559df6cda5 Mon Sep 17 00:00:00 2001 From: Daniel Haus Date: Wed, 31 Aug 2016 12:00:07 +0200 Subject: [PATCH] Return non-undefined value from promise --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index e20fd4e0..d4ba81f1 100644 --- a/index.js +++ b/index.js @@ -98,6 +98,7 @@ module.exports = function (source, map) { loader.emitWarning(msg.toString()); }); callback(null, result.css, result.map ? result.map.toJSON() : null); + return null; }) .catch(function (error) { if ( error.name === 'CssSyntaxError' ) {