Skip to content

Commit

Permalink
Add comment about GetDefaultCliConfigPath function
Browse files Browse the repository at this point in the history
  • Loading branch information
artis101 committed Oct 30, 2024
1 parent 4bf4954 commit 8d7b6bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/path.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ var (
getGOOS = runtime.GOOS
)

// GetDefaultCliConfigPath returns the default path for the ArduinoCLI configuration file.
func GetDefaultCliConfigPath() string {
if user, _ := userCurrent(); user != nil {
candidate := path.Join(user.HomeDir, func() string {
Expand Down

0 comments on commit 8d7b6bb

Please sign in to comment.