mirror of https://github.com/embarklabs/embark.git
Fix message events already declared
This commit is contained in:
parent
43945f6a49
commit
98e63ad424
|
@ -77,7 +77,7 @@ class Console {
|
|||
this.events.emit('runcode:register', 'Web3', Web3, false);
|
||||
this.events.emit('runcode:register', 'EmbarkJS', EmbarkJS, false);
|
||||
|
||||
this.events.on('code-generator-ready', () => {
|
||||
this.events.once('code-generator-ready', () => {
|
||||
if (this.ipc.connected) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue