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

Commit e92266a

Browse files
elektronikworkshophlovdal
authored andcommitted
Fixed build logging for Linux and OSX after having it ruined with previous Windows fix
1 parent f999cf5 commit e92266a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/arduino/arduino.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,11 +557,13 @@ Please make sure the folder is not occupied by other procedures .`);
557557
}
558558
}
559559
const stderrcb = (line: string) => {
560-
if (os.platform() == "win32") {
560+
if (os.platform() === "win32") {
561561
line = line.trim();
562562
if (line.length && !line.startsWith("DEBUG ") && !line.startsWith("TRACE ") && !line.startsWith("INFO ")) {
563563
arduinoChannel.channel.append(`${line}${os.EOL}`);
564564
}
565+
} else {
566+
arduinoChannel.channel.append(line);
565567
}
566568
}
567569

0 commit comments

Comments
 (0)