mirror of https://github.com/embarklabs/embark.git
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…
Reference in New Issue