Skip to content

Commit 7b556da

Browse files
authored
Correctly ignore .DS_Store files in CAS subdirs
1 parent 10270c2 commit 7b556da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cache/disk/load.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ func (c *diskCache) scanDir() (scanResult, error) {
531531
dirPath := path.Join(name, name2)
532532

533533
if !de2.IsDir() {
534-
if strings.ToLower(name) == lowercaseDSStoreFile {
534+
if strings.ToLower(name2) == lowercaseDSStoreFile {
535535
continue
536536
}
537537

0 commit comments

Comments
 (0)