mirror of https://github.com/embarklabs/embark.git
Fix git merging badly
This commit is contained in:
parent
de93a56e9f
commit
7d4407ce3c
|
@ -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