Skip to content

Commit

Permalink
fix verbose setting and cli programmer upload
Browse files Browse the repository at this point in the history
  • Loading branch information
adiazulay committed Jan 19, 2021
1 parent b91a5ca commit 7ac331f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/arduino/arduino.ts
Original file line number Diff line number Diff line change
Expand Up @@ -617,8 +617,7 @@ export class ArduinoApp {
return false;
}

args.push("compile",
"--upload",
args.push("upload",
"--programmer", programmer,
"--port", dc.port);
} else {
Expand All @@ -641,7 +640,7 @@ export class ArduinoApp {

this._settings.useArduinoCli ? args.push("--verbose") : args.push("--verbose-build");

if (verbose) {
if (verbose && !this._settings.useArduinoCli) {
args.push("--verbose-upload");
}

Expand Down

0 comments on commit 7ac331f

Please sign in to comment.