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

Fix problem with stripping whitespace #1433

Merged
merged 2 commits into from
Jan 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/serialmonitor/serialportctrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export class SerialPortCtrl {
this._child.stdout.on("data", (data) => {
if (this.isActive) {
const jsonObj = JSON.parse(data.toString())
this._bufferedOutputChannel.append(jsonObj["timestamp"] + jsonObj["payload"] + "\n");
this._bufferedOutputChannel.append(jsonObj["timestamp"] + jsonObj["payload"]);
}
});
// TODO: add message check to ensure _child spawned without errors
Expand Down