mirror of https://github.com/embarklabs/embark.git
fix event name
This commit is contained in:
parent
7643f0fec4
commit
9ec632c205
|
@ -21,6 +21,11 @@ class ContractDeployer {
|
|||
}
|
||||
|
||||
async.waterfall([
|
||||
(next) => {
|
||||
this.plugins.emitAndRunActionsForEvent('deployment:contract:beforeDeploy', {contract: contract}, (_params) => {
|
||||
next();
|
||||
});
|
||||
},
|
||||
(next) => {
|
||||
// self.plugins.emitAndRunActionsForEvent('deployment:contract:arguments', {contract: contract}, (_params) => {
|
||||
this.plugins.emitAndRunActionsForEvent('deployment:contract:shouldDeploy', {contract: contract, shouldDeploy: true}, (_params) => {
|
||||
|
|
|
@ -18,8 +18,8 @@ class SpecialConfigs {
|
|||
this.embark.registerActionForEvent('deployment:deployContracts:beforeAll', this.beforeAllDeployAction.bind(this));
|
||||
this.embark.registerActionForEvent('deployment:deployContracts:afterAll', this.afterAllDeployAction.bind(this));
|
||||
this.embark.registerActionForEvent("deployment:contract:deployed", this.doOnDeployAction.bind(this));
|
||||
this.embark.registerActionForEvent("deploy:contract:shouldDeploy", this.deployIfAction.bind(this));
|
||||
this.embark.registerActionForEvent('deploy:contract:beforeDeploy', this.beforeDeployAction.bind(this));
|
||||
this.embark.registerActionForEvent("deployment:contract:shouldDeploy", this.deployIfAction.bind(this));
|
||||
this.embark.registerActionForEvent('deployment:contract:beforeDeploy', this.beforeDeployAction.bind(this));
|
||||
}
|
||||
|
||||
async beforeAllDeployAction(cb) {
|
||||
|
|
Loading…
Reference in New Issue