From 52d0c5a8dd5c61f6dde648366e9f8ba7be4b265f Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Tue, 24 Apr 2018 10:19:01 -0400 Subject: [PATCH] stop tests when deploy fails --- lib/tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tests/test.js b/lib/tests/test.js index 0534bd284..7fc4f2e4a 100644 --- a/lib/tests/test.js +++ b/lib/tests/test.js @@ -89,7 +89,7 @@ Test.prototype.deployAll = function(contractsConfig, cb) { ], function(err, result) { if (err) { console.log('terminating due to error'); - process.exit(); + process.exit(1); } // this should be part of the waterfall and not just something done at the // end