From b12def5ab2b718f226f2a0c24c6b6d98cd0940c1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=CC=88rn=20Zaefferer?= Date: Fri, 31 May 2013 10:39:16 +0200 Subject: [PATCH] Build: Don't pass undefined to grunt's method in error cases. Must be for the task to fail. --- build/tasks/testswarm.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); }); } -- 2.39.5