Permalink
Browse files

fix(exposed-ports): fix socket exposed ports

  • Loading branch information...
jkuri committed Sep 21, 2017
1 parent 8a14e91 commit d47193ca028ce16b9d5849839686240735e74777
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/api/socket.ts
@@ -127,7 +127,7 @@ export class SocketServer {
if (idx !== -1) {
const proc = processes[idx];
conn.next({ type: 'data', data: proc.log.join('\n') });
conn.next({ type: 'exposed ports', data: proc.exposed_ports });
conn.next({ type: 'exposed ports', data: proc.exposed_ports || null });
}

const index = this.clients.findIndex(client => client.connection === conn);

0 comments on commit d47193c

Please sign in to comment.