Skip to content

Commit 8005b62

Browse files
committed
Removed debug log
1 parent 7422325 commit 8005b62

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

command/ota/massupload.go

-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import (
2424
"os"
2525
"path/filepath"
2626

27-
"github.com/arduino/arduino-cli/cli/feedback"
2827
"github.com/arduino/arduino-cloud-cli/config"
2928
"github.com/arduino/arduino-cloud-cli/internal/iot"
3029
"github.com/arduino/arduino-cloud-cli/internal/ota"
@@ -70,7 +69,6 @@ func MassUpload(ctx context.Context, params *MassUploadParams, cred *config.Cred
7069
//Verify if file has already an OTA header
7170
header, _ := ota.DecodeOtaFirmwareHeader(params.File)
7271
if header != nil {
73-
feedback.Print("File contains a valid OTA header. Skip header generation.")
7472
params.DoNotApplyHeader = true
7573
}
7674
}

command/ota/upload.go

-3
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ import (
2323
"os"
2424
"path/filepath"
2525

26-
"github.com/arduino/arduino-cli/cli/feedback"
27-
2826
"github.com/arduino/arduino-cloud-cli/config"
2927
"github.com/arduino/arduino-cloud-cli/internal/iot"
3028
"github.com/arduino/arduino-cloud-cli/internal/ota"
@@ -68,7 +66,6 @@ func Upload(ctx context.Context, params *UploadParams, cred *config.Credentials)
6866
//Verify if file has already an OTA header
6967
header, _ := ota.DecodeOtaFirmwareHeader(params.File)
7068
if header != nil {
71-
feedback.Print("File contains a valid OTA header. Skip header generation.")
7269
params.DoNotApplyHeader = true
7370
}
7471
}

0 commit comments

Comments
 (0)