fix: Print error to avoid silent failure
This commit is contained in:
parent
08fdf40afb
commit
87ca4f4156
1 changed files with 3 additions and 1 deletions
|
|
@ -33,6 +33,8 @@ sass.render({
|
|||
fs.writeFile(output_path, result.css, function(err) {
|
||||
if (!err) {
|
||||
console.log(output_path); // eslint-disable-line
|
||||
} else {
|
||||
console.error(err);
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue