Skip to content

Commit

Permalink
console.error if rm-coverage error
Browse files Browse the repository at this point in the history
  • Loading branch information
bitjson committed Apr 27, 2015
1 parent b8c63f2 commit e83c925
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ gulp.task('enforce-coverage', function () {

gulp.task('rm-coverage', function (cb) {
require('del')('coverage', function(err){
console.error(err);
if(err){
console.error(err);
}
cb();
});
});

0 comments on commit e83c925

Please sign in to comment.