Skip to content

Commit

Permalink
fix(gulp): fix gulp.PluginError arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed Jun 29, 2016
1 parent 166a336 commit 2834be2
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 @@ -19,7 +19,7 @@ module.exports = function(options) {
that.emit('error', new gutil.PluginError('textlint','Lint failed.'));
}
}).catch(function(error){
that.emit('error', new gutil.PluginError('textlint', 'textlint', 'Lint failed. \n' + error.message))
that.emit('error', new gutil.PluginError('textlint', 'Lint failed. \n' + error.message))
}).then(function() {
cb();
});
Expand Down

0 comments on commit 2834be2

Please sign in to comment.