mirror of https://github.com/embarklabs/embark.git
revert caca code
This commit is contained in:
parent
5581964fab
commit
f49e79d4e2
|
@ -20,6 +20,7 @@ test_apps/contracts_app/config/production/password
|
||||||
test_apps/contracts_app/node_modules/
|
test_apps/contracts_app/node_modules/
|
||||||
test_apps/contracts_app/chains.json
|
test_apps/contracts_app/chains.json
|
||||||
.idea
|
.idea
|
||||||
|
.vscode
|
||||||
.eslintrc.json
|
.eslintrc.json
|
||||||
.embark/
|
.embark/
|
||||||
NOTES
|
NOTES
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"editor.tabSize": 2,
|
|
||||||
"workbench.activityBar.visible": true,
|
|
||||||
"editor.minimap.enabled": false
|
|
||||||
}
|
|
|
@ -16,8 +16,8 @@ class IPC {
|
||||||
function connecting(_socket) {
|
function connecting(_socket) {
|
||||||
let connectedBefore = false, alreadyDisconnected = false;
|
let connectedBefore = false, alreadyDisconnected = false;
|
||||||
ipc.of['embark'].on('connect',function() {
|
ipc.of['embark'].on('connect',function() {
|
||||||
if (!alreadyDisconnected && !connectedBefore) {
|
|
||||||
connectedBefore = true;
|
connectedBefore = true;
|
||||||
|
if (!alreadyDisconnected) {
|
||||||
self.connected = true;
|
self.connected = true;
|
||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue