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

Commit ec7029a

Browse files
committed
Don't print errors twice
Fixes #26
1 parent 030b52d commit ec7029a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ module.exports = options => {
5151

5252
ps.then(() => {
5353
cb();
54-
}).catch(error => {
55-
cb(new gutil.PluginError('gulp-ava', error));
54+
}).catch(() => {
55+
cb(new gutil.PluginError('gulp-ava', 'One or more tests failed'));
5656
});
5757
});
5858
};

0 commit comments

Comments
 (0)