]> source.dussan.org Git - jquery-ui.git/commitdiff
Build: Don't pass undefined to grunt's method in error cases. Must be for the task...
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Fri, 31 May 2013 08:39:16 +0000 (10:39 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Fri, 31 May 2013 08:39:16 +0000 (10:39 +0200)
build/tasks/testswarm.js

index 2db31204843310f2d250c1639173151d626aec0f..5c11a3aaafa9643f63ade5fa3519403f91e07a19 100644 (file)
@@ -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();
        });
 }