Skip to content

Commit

Permalink
fix windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoisaiah committed Oct 10, 2023
1 parent 6daacf4 commit f6588ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion find/find.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func skipFileIfHidden(
return false, nil
}

isHidden, err := checkIfHidden(filepath.Base(path), "")
isHidden, err := checkIfHidden(filepath.Base(path), filepath.Dir(path))
if err != nil {
return false, err
}
Expand Down

0 comments on commit f6588ba

Please sign in to comment.