Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Commit e60053e

Browse files
committed
reverting back to returning empty string and error - there is an undefined error otherwise
1 parent fa2d098 commit e60053e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ func getCacheDir(imageName string) (string, error) {
151151
if cacheDir == "" {
152152
dir, err := homedir.Dir()
153153
if err != nil {
154-
return "", errors.Wrap(err, "retrieving home dir")
154+
return "", err
155155
} else {
156156
cacheDir = dir
157157
}

0 commit comments

Comments
 (0)