Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Return non-undefined value from promise
  • Loading branch information
leyyinad authored Aug 31, 2016
commit fd13fa4dae00b80a7b1b5892717c81559df6cda5
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' ) {
Expand Down