We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e23ac00 commit fe53ca0Copy full SHA for fe53ca0
pkg/commands/cache.go
@@ -64,7 +64,7 @@ func dirSizeBytes(path string) (int64, error) {
64
var size int64
65
err := filepath.Walk(path, func(_ string, info os.FileInfo, err error) error {
66
if err == nil && !info.IsDir() {
67
- size = info.Size()
+ size += info.Size()
68
}
69
return err
70
})
0 commit comments