Skip to content

Commit

Permalink
🐛 fix small recursion error
Browse files Browse the repository at this point in the history
  • Loading branch information
bmatcuk committed Nov 19, 2020
1 parent eb4d9ac commit ec92414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doublestar.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ func GlobOS(vos OS, pattern string) (matches []string, err error) {
return nil, ErrBadPattern
}
for _, o := range options {
m, e := Glob(o + pattern[endOptions+1:])
m, e := GlobOS(vos, o+pattern[endOptions+1:])
if e != nil {
return nil, e
}
Expand Down

0 comments on commit ec92414

Please sign in to comment.