mirror of https://github.com/embarklabs/embark.git
Merge pull request #377 from embark-framework/bug_fix/tests-passing-when-one-fails
stop tests when deploy fails
This commit is contained in:
commit
5fb3cb3730
|
@ -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