Skip to content
This repository has been archived by the owner on Aug 8, 2020. It is now read-only.

Commit

Permalink
Don't print errors twice
Browse files Browse the repository at this point in the history
Fixes #26
  • Loading branch information
sindresorhus committed Dec 15, 2018
1 parent 030b52d commit ec7029a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Expand Up @@ -51,8 +51,8 @@ module.exports = options => {

ps.then(() => {
cb();
}).catch(error => {
cb(new gutil.PluginError('gulp-ava', error));
}).catch(() => {
cb(new gutil.PluginError('gulp-ava', 'One or more tests failed'));
});
});
};

0 comments on commit ec7029a

Please sign in to comment.