Skip to content

Commit cbe8007

Browse files
committed
address filepath issue
1 parent 700a888 commit cbe8007

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func main() {
9191

9292
// Instantiate Tools
9393
usr, _ := user.Current()
94-
directory := usr.HomeDir + "/.arduino-create"
94+
directory := filepath.Join(usr.HomeDir, ".arduino-create")
9595
Tools = tools.Tools{
9696
Directory: directory,
9797
IndexURL: *indexURL,

0 commit comments

Comments
 (0)