mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +00:00
fix code generator event
This commit is contained in:
parent
f1cb7d1187
commit
70f38d863e
@ -81,7 +81,7 @@ class CodeGenerator {
|
||||
});
|
||||
|
||||
self.events.setCommandHandler('code-generator:contract', (contractName, cb) => {
|
||||
self.events.setCommandHandler('contracts:contract', contractName, (contract) => {
|
||||
self.events.request('contracts:contract', contractName, (contract) => {
|
||||
self.buildContractJS(contractName, self.generateContractJSON(contract, contract), cb);
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user