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 33c2b22 commit a4f8dd2
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 @@ -305,7 +305,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 a4f8dd2

Please sign in to comment.