Skip to content

Commit

Permalink
fixes gothy#9
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Kalyabin committed Jan 29, 2018
1 parent c94e2e2 commit acc9588
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 @@ -64,8 +64,8 @@ module.exports = function(options) {
replaceWithStr = 'url(' + url + "?v=" + md5ify(idata) + ')';
} catch (err) {
replaceWithStr = str;
console.dir(file);
if (typeof options.emitErrors === 'undefined' || options.emitErrors) {
console.dir(file);
this.emit('error', new gutil.PluginError(PLUGIN_NAME, err, {fileName: file.path}));
}
}
Expand Down

0 comments on commit acc9588

Please sign in to comment.