mirror of https://github.com/embarklabs/embark.git
stop tests when deploy fails
This commit is contained in:
parent
edb6876d7a
commit
52d0c5a8dd
|
@ -89,7 +89,7 @@ Test.prototype.deployAll = function(contractsConfig, cb) {
|
||||||
], function(err, result) {
|
], function(err, result) {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log('terminating due to error');
|
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
|
// this should be part of the waterfall and not just something done at the
|
||||||
// end
|
// end
|
||||||
|
|
Loading…
Reference in New Issue