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

Commit 314d4a8

Browse files
elektronikworkshopadiazulay
authored andcommitted
Build/analysis logging improvements
1 parent b489a8f commit 314d4a8

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/arduino/arduino.ts

+8-1
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,14 @@ export class ArduinoApp {
375375
}
376376
}
377377
const stderrcb = (line: string) => {
378-
arduinoChannel.channel.append(line);
378+
if (os.platform() === "win32") {
379+
line = line.trim();
380+
if (line.length && !line.startsWith("DEBUG ") && !line.startsWith("TRACE ") && !line.startsWith("INFO ")) {
381+
arduinoChannel.channel.append(`${line}${os.EOL}`);
382+
}
383+
} else {
384+
arduinoChannel.channel.append(line);
385+
}
379386
}
380387

381388
return await util.spawn(

0 commit comments

Comments
 (0)