Skip to content

Commit

Permalink
Merge pull request #16 from pandell/fix-typo
Browse files Browse the repository at this point in the history
Fix a typo
  • Loading branch information
amaechler committed Apr 1, 2016
2 parents b10d39b + 5e45385 commit b3c994b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ module.exports = function simpleJslint(options) {
}

if (!file.isBuffer()) {
var err = new gutil.PluginError(pluginName, "This plugin requires bufferred files", {});
var err = new gutil.PluginError(
pluginName,
"This plugin requires buffered files (".concat(file.path, ").")
);
err.code = "ENOTSUPPORTED";
this.emit("error", err);
this.end();
Expand Down

0 comments on commit b3c994b

Please sign in to comment.