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

Commit 05c4f1c

Browse files
Merge pull request #1433 from BelKed/whitespace-fix
Fix problem with stripping whitespace
2 parents 1718768 + 670100b commit 05c4f1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/serialmonitor/serialportctrl.ts

+1-1
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)