Skip to content

Commit 44982c2

Browse files
facchinmsaniales
authored andcommitted
Start adding TODOs for paths incoherences
1 parent 149613a commit 44982c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

common/paths.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ func GetDefaultArduinoHomeFolder() (string, error) {
9797
if err != nil {
9898
return "", err
9999
}
100+
// TODO: before doing this, check IDE's preferences.txt for different sketchbook path
100101
SketchbookFolder = filepath.Join(usr.HomeDir, "Arduino")
101102
}
102103
return GetFolder(SketchbookFolder, "Arduino home", true)
@@ -124,6 +125,7 @@ func GetDefaultPkgFolder() (string, error) {
124125

125126
// GetDefaultCoresFolder gets the default folder of downloaded cores.
126127
func GetDefaultCoresFolder(packageName string) (string, error) {
128+
// TODO: wrong, this is not the correct location of the cores (in Java IDE)
127129
return GetDefaultFolder(GetDefaultPkgFolder, filepath.Join(packageName, "hardware"), "cores", true)
128130
}
129131

0 commit comments

Comments
 (0)