mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +00:00
return if contract deploy is false
This commit is contained in:
parent
228eaef331
commit
0314fb77c9
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user