mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-22 21:29:14 +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) => {
|
this.embark.registerActionForEvent("deploy:contract:deployed", (params, cb) => {
|
||||||
let contract = params.contract;
|
let contract = params.contract;
|
||||||
|
|
||||||
if (!contract.onDeploy) {
|
if (!contract.onDeploy || contract.deploy === false) {
|
||||||
return cb();
|
return cb();
|
||||||
}
|
}
|
||||||
if (!contract.silent) {
|
if (!contract.silent) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user