1 parent 60b210e commit 1fe21cdCopy full SHA for 1fe21cd
1 file changed
bootstrap/cache/disk_cache.go
@@ -52,7 +52,7 @@ func NewDiskCache() *DiskCache {
52
if !filepath.IsAbs(cacheDir) {
53
home, err := homedir.Dir()
54
if err != nil {
55
- panic("Can't determine your home directory")
+ panic("Cannot determine home directory: HOME environment variable not set or inaccessible")
56
}
57
58
cacheDir = filepath.Join(home, ".cache")
0 commit comments