Skip to content

Commit

Permalink
fix(exposed-ports): fix socket exposed ports
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuri committed Sep 21, 2017
1 parent 8a14e91 commit d47193c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/socket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d47193c

Please sign in to comment.