Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

‎commands/upload/upload.go‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /