Merge branch 'main' into oci-layout

This commit is contained in:
Josh Wolf
2021-12-01 14:57:46 -07:00
committed by GitHub

View File

@@ -91,7 +91,7 @@ func (o *rootOpts) getCache(ctx context.Context) (cache2.Cache, error) {
dir := o.cacheDir
if dir == "" {
// Default to $XDG_CACHE_DIR
// Default to $XDG_CACHE_HOME
cachedir, err := os.UserCacheDir()
if err != nil {
return nil, err