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

Commit deaa18a

Browse files
elektronikworkshopadiazulay
authored andcommitted
Collapsing multiple consecutive newlines into a single newline for non verbose build log
1 parent 30210dc commit deaa18a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/arduino/arduino.ts

+1
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ export class ArduinoApp {
384384
if (line.length <= 0) {
385385
return;
386386
}
387+
line = line.replace(/(?:\r|\r\n|\n)+/g, os.EOL);
387388
line = `${line}${os.EOL}`;
388389
}
389390
if (!verbose) {

0 commit comments

Comments
 (0)