Skip to content

Commit

Permalink
chore: fix gulp on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Ari Porad committed Sep 13, 2015
1 parent 597cd38 commit 0ab0811
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,16 @@ gulp.task('test-cov', ['lint'], function testcov(cb) {
// See above comment, but we need this due to gulp-mocha and socket.io
process.exit();
} else {
cb(err)
process.nextTick(function(){
process.exit(1);
});
throw err;
}
})
// See above comment, but we need this due to gulp-mocha and socket.io
.on('end', process.exit.bind(process));
.on('end', function kill(){
process.exit();
});
});
});
});
Expand Down

0 comments on commit 0ab0811

Please sign in to comment.