This commit is contained in:
Iuri Matias 2018-07-07 16:59:00 +03:00
parent 448593b36f
commit 6bb8051d83
1 changed files with 1 additions and 0 deletions

View File

@ -222,6 +222,7 @@ class Embark {
engine.logger.debug(err.stack); engine.logger.debug(err.stack);
} }
// TODO: this should be moved out and determined somewhere else
if (canExit || !engine.config.contractsConfig.afterDeploy || !engine.config.contractsConfig.afterDeploy.length) { if (canExit || !engine.config.contractsConfig.afterDeploy || !engine.config.contractsConfig.afterDeploy.length) {
process.exit(); process.exit();
} }