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

Commit 7ac331f

Browse files
committed
fix verbose setting and cli programmer upload
1 parent b91a5ca commit 7ac331f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/arduino/arduino.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -617,8 +617,7 @@ export class ArduinoApp {
617617
return false;
618618
}
619619

620-
args.push("compile",
621-
"--upload",
620+
args.push("upload",
622621
"--programmer", programmer,
623622
"--port", dc.port);
624623
} else {
@@ -641,7 +640,7 @@ export class ArduinoApp {
641640

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

644-
if (verbose) {
643+
if (verbose && !this._settings.useArduinoCli) {
645644
args.push("--verbose-upload");
646645
}
647646

0 commit comments

Comments
 (0)