Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/gulpjs/gulp
Browse files Browse the repository at this point in the history
  • Loading branch information
Contra committed Jun 3, 2014
2 parents 7de85ea + 86cc5b9 commit 9aa5c45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/writing-a-plugin/dealing-with-streams.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function prefixStream(prefixText) {
function gulpPrefixer(prefixText) {

if (!prefixText) {
throw PluginError(PLUGIN_NAME, "Missing prefix text!");
throw new PluginError(PLUGIN_NAME, "Missing prefix text!");
}
prefixText = new Buffer(prefixText); // allocate ahead of time

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"mkdirp": "^0.5.0"
},
"scripts": {
"test": "jshint && mocha --reporter spec",
"test": "jshint --exclude node_modules . && mocha --reporter spec",
"coveralls": "istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"
},
"engineStrict": true,
Expand Down

0 comments on commit 9aa5c45

Please sign in to comment.