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

Commit

Permalink
Collapsing multiple consecutive newlines into a single newline for no…
Browse files Browse the repository at this point in the history
…n verbose build log
  • Loading branch information
elektronikworkshop authored and adiazulay committed Jan 19, 2021
1 parent 30210dc commit deaa18a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/arduino/arduino.ts
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ export class ArduinoApp {
if (line.length <= 0) {
return;
}
line = line.replace(/(?:\r|\r\n|\n)+/g, os.EOL);
line = `${line}${os.EOL}`;
}
if (!verbose) {
Expand Down

0 comments on commit deaa18a

Please sign in to comment.