Skip to content

Commit 52d0c5a

Browse files
committed
stop tests when deploy fails
1 parent edb6876 commit 52d0c5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tests/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Test.prototype.deployAll = function(contractsConfig, cb) {
8989
], function(err, result) {
9090
if (err) {
9191
console.log('terminating due to error');
92-
process.exit();
92+
process.exit(1);
9393
}
9494
// this should be part of the waterfall and not just something done at the
9595
// end

0 commit comments

Comments
 (0)