diff --git a/src/_phantomjs.js b/src/_phantomjs.js index eee56bfd7..eaf1cdee7 100644 --- a/src/_phantomjs.js +++ b/src/_phantomjs.js @@ -28,7 +28,9 @@ console.log("error", error); phantom.exit(1); } - phantom.exit(0); + else { + phantom.exit(0); + } }, 10000); } } @@ -77,4 +79,4 @@ } } -}()); \ No newline at end of file +}());