Skip to content

Commit d7631b4

Browse files
authoredApr 25, 2020
Merge pull request #371 from mickaelzhang/update-mm-method
Rename micromatch any to isMatch
2 parents e349703 + 62f2888 commit d7631b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/ignoreFiles.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function addIgnoreFromFile(input) {
5959
}
6060

6161
function shouldIgnore(path) {
62-
const matched = matchers.length ? mm.any(path, matchers, { dot:true }) : false;
62+
const matched = matchers.length ? mm.isMatch(path, matchers, { dot:true }) : false;
6363
return matched;
6464
}
6565

0 commit comments

Comments
 (0)
Please sign in to comment.