Skip to content

Commit

Permalink
fix: cache status size calculation (#3611)
Browse files Browse the repository at this point in the history
  • Loading branch information
johejo authored Feb 18, 2023
1 parent e23ac00 commit fe53ca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/commands/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func dirSizeBytes(path string) (int64, error) {
var size int64
err := filepath.Walk(path, func(_ string, info os.FileInfo, err error) error {
if err == nil && !info.IsDir() {
size = info.Size()
size += info.Size()
}
return err
})
Expand Down

0 comments on commit fe53ca0

Please sign in to comment.