Skip to content

Commit 32a538b

Browse files
committed
Fix IsDirCheck
1 parent 152f7f1 commit 32a538b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

paths.go

-3
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,6 @@ func (p *Path) IsDirCheck() (bool, error) {
299299
if err == nil {
300300
return info.IsDir(), nil
301301
}
302-
if os.IsNotExist(err) {
303-
return false, nil
304-
}
305302
return false, err
306303
}
307304

0 commit comments

Comments
 (0)