Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit 6fd6168

Browse files
committed
Newline is already in payload
1 parent c63c581 commit 6fd6168

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/serialmonitor/serialportctrl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export class SerialPortCtrl {
105105
this._child.stdout.on("data", (data) => {
106106
if (this.isActive) {
107107
const jsonObj = JSON.parse(data.toString())
108-
this._bufferedOutputChannel.append(jsonObj["timestamp"] + jsonObj["payload"] + "\n");
108+
this._bufferedOutputChannel.append(jsonObj["timestamp"] + jsonObj["payload"]);
109109
}
110110
});
111111
// TODO: add message check to ensure _child spawned without errors

0 commit comments

Comments
 (0)