Skip to content

Commit 474a8de

Browse files
committed
Add newline delimiter to IPC providers for broader support (#4847).
1 parent 9e7e7f3 commit 474a8de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src.ts/providers/provider-ipcsocket.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ export class IpcSocketProvider extends SocketProvider {
7575
}
7676

7777
async _write(message: string): Promise<void> {
78+
if (!message.endsWith("\n")) { message += "\n"; }
7879
this.socket.write(message);
7980
}
8081
}

0 commit comments

Comments
 (0)