Skip to content

Commit 92ce70f

Browse files
authored
Update manager.go
1 parent b5fe433 commit 92ce70f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

internal/cache/manager.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package cache
22

33
import (
4-
"fmt"
54
"os"
65
"path/filepath"
76
"runtime"
@@ -84,6 +83,9 @@ func (m *Manager) ClearCache() {
8483
if err != nil {
8584
if runtime.GOOS == "windows" {
8685
err := deleteFileWithWindowsAPI(path)
86+
if err != nil {
87+
return err
88+
}
8789
}
8890

8991
if runtime.GOOS == "linux" || runtime.GOOS == "darwin" {

0 commit comments

Comments
 (0)