Skip to content

Commit

Permalink
Merge pull request #371 from mickaelzhang/update-mm-method
Browse files Browse the repository at this point in the history
Rename micromatch any to isMatch
  • Loading branch information
gkz authored Apr 25, 2020
2 parents e349703 + 62f2888 commit d7631b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ignoreFiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function addIgnoreFromFile(input) {
}

function shouldIgnore(path) {
const matched = matchers.length ? mm.any(path, matchers, { dot:true }) : false;
const matched = matchers.length ? mm.isMatch(path, matchers, { dot:true }) : false;
return matched;
}

Expand Down

0 comments on commit d7631b4

Please sign in to comment.