-
Notifications
You must be signed in to change notification settings - Fork 29
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
feat: replace minimatch with micromatch #83
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #83 +/- ##
==========================================
- Coverage 94.73% 94.56% -0.18%
==========================================
Files 5 5
Lines 190 184 -6
==========================================
- Hits 180 174 -6
Misses 10 10
Continue to review full report at Codecov.
|
matchBase/basename option in micromatch only works with globbing pattern without slashes (e.g. One way to work around it is to let user customize the micromatch option, Alternatively, we could also detect whether the pattern contains a slash and disable "basename" accordingly. |
hey there are some conflicts, can you please have a see? |
micromatch is a replacement of minimatch. It supports multiple patterns in an array, without the need of string-to-array conversion, along with other globbing features.
Depends on Node 8 or above.
More details: hexojs/hexo#3538