diff --git a/lib/modules/specialconfigs/index.js b/lib/modules/specialconfigs/index.js index 1486bee11..93e528305 100644 --- a/lib/modules/specialconfigs/index.js +++ b/lib/modules/specialconfigs/index.js @@ -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) {