Skip to content

Commit

Permalink
Pass succeeded as result of async task.
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe Oliveira committed May 9, 2013
1 parent 0108e08 commit ad05558
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tasks/cucumber-js-task.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ module.exports = function (grunt) {
grunt.verbose.writeflags(options, 'Options');

var callback = function(succeeded) {
var code = succeeded ? 0 : 1;
var exitFunction = function() {
done(code);
done(succeeded);
};

// --- exit after waiting for all pending output ---
Expand Down

0 comments on commit ad05558

Please sign in to comment.