Skip to content

Commit

Permalink
Introduce verbose variable
Browse files Browse the repository at this point in the history
  • Loading branch information
hlovdal authored and adiazulay committed Jan 19, 2021
1 parent 3879639 commit a6968e0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/arduino/arduino.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ export class ArduinoApp {
return;
}

if (VscodeSettings.getInstance().logLevel === "verbose") {
const verbose = VscodeSettings.getInstance().logLevel === "verbose";
if (verbose) {
args.push("--verbose");
}
if (dc.output && compile) {
Expand Down Expand Up @@ -252,7 +253,8 @@ export class ArduinoApp {
}

args.push(appPath);
if (VscodeSettings.getInstance().logLevel === "verbose") {
const verbose = VscodeSettings.getInstance().logLevel === "verbose";
if (verbose) {
args.push("--verbose");
}
if (output || dc.output) {
Expand Down

0 comments on commit a6968e0

Please sign in to comment.