mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +00:00
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…
x
Reference in New Issue
Block a user