windows: fix nil pointer reference
This commit is contained in:
parent
f2dbdcb9e8
commit
b34c53d39b
1 changed files with 2 additions and 0 deletions
2
cache.go
2
cache.go
|
@ -235,6 +235,8 @@ func getWindowsCacheDir() (string, error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return cachedir, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue