This commit is contained in:
Iuri Matias 2018-07-07 16:59:00 +03:00
parent 5ade9e090c
commit cb780c9327
1 changed files with 1 additions and 0 deletions

View File

@ -219,6 +219,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();
} }