bug fix
This commit is contained in:
parent
0c7423d604
commit
6e9e272fd2
1 changed files with 2 additions and 2 deletions
|
|
@ -40,9 +40,9 @@ func NewMacOSFilter() *MacOSFilter {
|
|||
|
||||
// Filter implements the Filter interface
|
||||
func (f *MacOSFilter) Filter(path string) error {
|
||||
_, f := filepath.Split(path)
|
||||
_, file := filepath.Split(path)
|
||||
for _, m := range f.match {
|
||||
if m(f) {
|
||||
if m(file) {
|
||||
return ErrMacOSFilter
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue