Skip to content
This repository was archived by the owner on Aug 16, 2022. It is now read-only.

Commit 337d8f1

Browse files
committed
fixed issue with errors not outputting
1 parent b08aebd commit 337d8f1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

compilers/sass.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ module.exports = function (raw, cb) {
2222
},
2323
// callback for node-sass > 3.0.0
2424
function (err, res) {
25-
if (err) return err
26-
cb(null, res.css.toString())
25+
if (err) {
26+
cb(err)
27+
} else {
28+
cb(null, res.css.toString())
29+
}
2730
})
2831
}

0 commit comments

Comments
 (0)