You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
a change was introduced in 1.30 to return the error from readdir, but this change is causing the glob results to get corrupted due to nil getting returned and overwriting all previous glob results.
Yup, I agree with that assessment! I've cut a new version of both v1 (v1.3.2) and v2 (v2.0.1) with the fix. Let me know if that solves the problem for you!
Yup, I agree with that assessment! I've cut a new version of both v1 (v1.3.2) and v2 (v2.0.1) with the fix. Let me know if that solves the problem for you!
It absolutely does, thanks for the quick response!
Hi,
a change was introduced in 1.30 to return the error from readdir, but this change is causing the glob results to get corrupted due to nil getting returned and overwriting all previous glob results.
https://github.com/bmatcuk/doublestar/blob/master/doublestar.go#L452
From what I can tell the line should just
return
rather thanreturn nil, err
.The text was updated successfully, but these errors were encountered: