Skip to content

Commit 592bbdc

Browse files
facchinmcmaglie
authored andcommitted
Don't bail out if trying to upload external binary
No functional modification for standard flow (compile+upload without -i flag)
1 parent 09f8600 commit 592bbdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: commands/upload/upload.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ func run(command *cobra.Command, args []string) {
208208

209209
uploadProperties.SetPath("build.path", importPath)
210210
uploadProperties.Set("build.project_name", importFile)
211-
if _, err := sketch.FullPath.Join(importFile + ext).Stat(); err != nil {
211+
if _, err := importPath.Join(importFile + ext).Stat(); err != nil {
212212
if os.IsNotExist(err) {
213213
formatter.PrintErrorMessage("Compiled sketch not found. Please compile first.")
214214
} else {

0 commit comments

Comments
 (0)