-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should isDynamicPattern
be a replacement for is-glob
?
#71
Comments
i can tell you better if you can provide a minimal repro |
It looks like |
interesting. what does fast-glob do? |
|
i could make it return false on undefined, but would that be ideal for users? |
I think that's pretty reasonable behavior. If it's not a string then you're correctly returning that it's not a glob |
JFYI: We did this because the pattern is always a string. Anything that is not a string is not a pattern by nature. One of the interesting byways… we had a case where dozens of projects started to build incorrectly (local & CI) after updating the common library because |
I thought it might allow us to get rid of some more dependencies, but it didn't seem to work when I tried swapping them. Not quite sure why the tests are failing, but you can see my attempt here:
benmccann/json-schema-to-typescript@2a79b10#diff-fa8d4e24d8399e8350f1c8bad05df53e8032ea995835bf911507015e2db61cddR5
The text was updated successfully, but these errors were encountered: