Skip to content

Commit

Permalink
fix: don't let grunt exit on fail/error when using :run
Browse files Browse the repository at this point in the history
  • Loading branch information
geddski committed Apr 22, 2013
1 parent 3c8c8f0 commit 676f17f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"license": "MIT",
"readmeFilename": "README.md",
"dependencies": {
"karma": "~0.8.3"
"karma": "~0.8.5"
},
"devDependencies": {
"grunt": "~0.4.1",
Expand Down
2 changes: 1 addition & 1 deletion tasks/grunt-karma.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = function(grunt) {
}
//support `karma run`, useful for grunt watch
if (this.flags.run){
runner.run(data, finished.bind(done));
runner.run(data, done);
return;
}
//allow karma to be run in the background so it doesn't block grunt
Expand Down

0 comments on commit 676f17f

Please sign in to comment.