diff --git a/gulpfile.js b/gulpfile.js index 817ca32830..88894a0069 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -175,7 +175,7 @@ function runE2eTests(appDir, protractorConfigFilename, outputFile ) { // Ugh... proc.kill does not work properly on windows with child processes. // appRun.proc.kill(); treeKill(appRunSpawnInfo.proc.pid); - return true; + return !data; }).fail(function(err) { // Ugh... proc.kill does not work properly on windows with child processes. // appRun.proc.kill();