diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2013-05-31 10:39:16 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2013-05-31 10:39:16 +0200 |
commit | b12def5ab2b718f226f2a0c24c6b6d98cd0940c1 (patch) | |
tree | 1a26dba26b96921b660a3b7a8d8bea10234ee217 /build/tasks/testswarm.js | |
parent | aaf75767fa98a6acdf00b1414bee622d3a3747cc (diff) | |
download | jquery-ui-b12def5ab2b718f226f2a0c24c6b6d98cd0940c1.tar.gz jquery-ui-b12def5ab2b718f226f2a0c24c6b6d98cd0940c1.zip |
Build: Don't pass undefined to grunt's method in error cases. Must be for the task to fail.
Diffstat (limited to 'build/tasks/testswarm.js')
-rw-r--r-- | build/tasks/testswarm.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build/tasks/testswarm.js b/build/tasks/testswarm.js index 2db312048..5c11a3aaa 100644 --- a/build/tasks/testswarm.js +++ b/build/tasks/testswarm.js @@ -64,8 +64,10 @@ function submit( commit, runs, configFile, extra, done ) { }, function( error, passed ) { if ( error ) { grunt.log.error( error ); + done( false ); + return; } - done( passed ); + done(); }); } |