return if contract deploy is false

This commit is contained in:
Iuri Matias 2018-09-03 14:01:26 -04:00
parent 228eaef331
commit 0314fb77c9
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ class SpecialConfigs {
this.embark.registerActionForEvent("deploy:contract:deployed", (params, cb) => {
let contract = params.contract;
if (!contract.onDeploy) {
if (!contract.onDeploy || contract.deploy === false) {
return cb();
}
if (!contract.silent) {