Skip to content

Commit

Permalink
Switch from Match() to PathMatch() to be OS agnostic.
Browse files Browse the repository at this point in the history
  • Loading branch information
SBGoods committed Jul 24, 2024
1 parent fc5b8aa commit 7529424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/zip_archiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func checkMatch(fileName string, excludes []string) (value bool, err error) {
continue
}

match, err := doublestar.Match(exclude, fileName)
match, err := doublestar.PathMatch(exclude, fileName)
if err != nil {
return false, err
}
Expand Down

0 comments on commit 7529424

Please sign in to comment.