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
With that, the rank function fails at the matcher.match(s),
for example, with an given s = "test.config.js" the matcher of the first item of the array will not match (at least it's not matching for me).
I don't know if it's a bug with minimatch or a real bug, but allowing to provide a custom rank function would solve this problem for me.
The text was updated successfully, but these errors were encountered:
The actual rank function isn't working for me.
We map every glob to a absolute path (this is an internal need ), and that makes the rank matcher not match on the rank function.
Say we have the following patterns:
With that, the rank function fails at the
matcher.match(s)
,for example, with an given
s = "test.config.js"
the matcher of the first item of the array will not match (at least it's not matching for me).I don't know if it's a bug with minimatch or a real bug, but allowing to provide a custom rank function would solve this problem for me.
The text was updated successfully, but these errors were encountered: