stop tests when deploy fails

This commit is contained in:
Jonathan Rainville 2018-04-24 10:19:01 -04:00
parent edb6876d7a
commit 52d0c5a8dd
1 changed files with 1 additions and 1 deletions

View File

@ -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