Skip to content

Commit

Permalink
fix(index.js): add gutil to PluginError when gettext is not instaled
Browse files Browse the repository at this point in the history
  • Loading branch information
felixzapata committed Oct 17, 2016
1 parent 9b276d0 commit 31aace4
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 @@ -47,7 +47,7 @@ function gulpPotomo(customOptions, cb) {

// Return warning if not found msgfmt command
if (!shell.which('msgfmt')) {
this.emit('error', new PluginError(PLUGIN_NAME, 'GNU gettext is not installed in your system PATH.'));
this.emit('error', new gutil.PluginError(PLUGIN_NAME, 'GNU gettext is not installed in your system PATH.'));
cb();
return;
}
Expand Down

0 comments on commit 31aace4

Please sign in to comment.