From 0314fb77c91346d4bd103a1a7fb54bd67ca48e10 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Mon, 3 Sep 2018 14:01:26 -0400 Subject: [PATCH] return if contract deploy is false --- lib/modules/specialconfigs/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {