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
{{ message }}
Repository navigation
Different behavior of scan method depending on options #62
The scan method returns different parts depending on options.
When the parts option is passed, then */c will be represented as two parts of the pattern (['*', 'c']).
When the tokens option is passed, the */c will be represented as one part of the pattern (['*/c']).
The documentation says that the tokens option automatically enables the parts option. Based on this, i expect the behavior to be same when I pass the parts option manually.
parts
This is automatically enabled when options.tokens is true.
Activity
jonschlinkert commentedon Jan 26, 2020
agreed, that's a bug. I think I might have fixed this already, I'm traveling this weekend. I'll push up a fix ASAP.
fixes #62
fix: scan full pattern when tokens are requested