Skip to content

Commit 0607ce5

Browse files
authored
Merge pull request cli#4920 from simi/patch-1
Update StateDir comment to mention XDG_STATE_HOME.
2 parents 0d3dd7e + f2848fc commit 0607ce5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/config/config_file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func ConfigDir() string {
4949
}
5050

5151
// State path precedence
52-
// 1. XDG_CONFIG_HOME
52+
// 1. XDG_STATE_HOME
5353
// 2. LocalAppData (windows only)
5454
// 3. HOME
5555
func StateDir() string {

0 commit comments

Comments
 (0)