Skip to content

Commit b12def5

Browse files
committed
Build: Don't pass undefined to grunt's method in error cases. Must be for the task to fail.
1 parent aaf7576 commit b12def5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build/tasks/testswarm.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,10 @@ function submit( commit, runs, configFile, extra, done ) {
6464
}, function( error, passed ) {
6565
if ( error ) {
6666
grunt.log.error( error );
67+
done( false );
68+
return;
6769
}
68-
done( passed );
70+
done();
6971
});
7072
}
7173

0 commit comments

Comments
 (0)