Skip to content

Commit

Permalink
Fix for 'no writecb in Transform' error.
Browse files Browse the repository at this point in the history
The clue came from the discussion here:
rvagg/through2#1
  • Loading branch information
jacobstr committed Dec 19, 2014
1 parent 367d19c commit dd2d57f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ module.exports = function (options) {
}, options.rootDir, function (success) {
if(!success) {
cb(new gutil.PluginError('gulp-jest', { message: "Tests Failed" }));
} else {
cb();
}
cb();
}.bind(this));
});
};

0 comments on commit dd2d57f

Please sign in to comment.