mirror of https://github.com/embarklabs/embark.git
Fix git merging badly
This commit is contained in:
parent
e13c0b3724
commit
bdd5852b6c
|
@ -44,10 +44,11 @@ class Server {
|
|||
wss.clients.forEach(function (client) {
|
||||
client.send('outputDone');
|
||||
});
|
||||
self.events.on('outputError', () => {
|
||||
if (ws.readyState === WEB_SOCKET_STATE_OPEN) {
|
||||
return ws.send('outputError');
|
||||
}
|
||||
});
|
||||
|
||||
self.events.on('outputError', () => {
|
||||
wss.clients.forEach(function (client) {
|
||||
client.send('outputError');
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue