We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0031c6d commit 3cd797aCopy full SHA for 3cd797a
commands/upload/upload.go
@@ -208,7 +208,8 @@ func run(command *cobra.Command, args []string) {
208
209
uploadProperties.SetPath("build.path", importPath)
210
uploadProperties.Set("build.project_name", importFile)
211
- if _, err := os.Stat(filepath.Join(sketch.FullPath, importFile+ext)); err != nil {
+
212
+ if _, err := os.Stat(filepath.Join(importPath.String(), importFile+ext)); err != nil {
213
if os.IsNotExist(err) {
214
formatter.PrintErrorMessage("Compiled sketch not found. Please compile first.")
215
} else {
0 commit comments