Proposed fix for issue #10803 (#11010)

This commit is contained in:
claudiosdc
2020-04-17 14:43:19 -03:00
committed by GitHub
parent 49576720c9
commit cba4b7b1b3

View File

@@ -180,7 +180,7 @@ class Client {
eachline(sock, (line: string) => {
this.exitOnClose = line.indexOf(EXITING_MESSAGE) >= 0;
return line;
return undefined as unknown as string;
});
sock.on("connect", onConnect);