Skip to content

Commit

Permalink
Declaring logError as function instead of arrow function.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Kvistgaard committed Apr 6, 2018
1 parent 450a7b8 commit 1b35d5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ gulpSass.sync = options => gulpSass(options, true);
//////////////////////////////
// Log errors nicely
//////////////////////////////
gulpSass.logError = (error) => {
gulpSass.logError = function logError(error) {
const message = new PluginError('sass', error.messageFormatted).toString();
process.stderr.write(`${message}\n`);
this.emit('end');
Expand Down

0 comments on commit 1b35d5e

Please sign in to comment.