Skip to content

Commit

Permalink
Update pkg/config/config.go
Browse files Browse the repository at this point in the history
Co-authored-by: Andy Feller <andyfeller@github.com>
  • Loading branch information
williammartin and andyfeller committed Mar 19, 2024
1 parent dd8374e commit 72d06aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ func DataDir() string {
return path
}

// Cache path precedence: XDG_CACHE_HOME, LocalAppData (windows only), HOME.
// Cache path precedence: XDG_CACHE_HOME, LocalAppData (windows only), HOME, legacy gh-cli-cache.
func CacheDir() string {
if a := os.Getenv(xdgCacheHome); a != "" {
return filepath.Join(a, "gh")
Expand Down

0 comments on commit 72d06aa

Please sign in to comment.