Skip to content

Commit

Permalink
Merge pull request #1433 from BelKed/whitespace-fix
Browse files Browse the repository at this point in the history
Fix problem with stripping whitespace
  • Loading branch information
gcampbell-msft committed Jan 26, 2022
2 parents 1718768 + 670100b commit 05c4f1c
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 05c4f1c

Please sign in to comment.