From 62f288885d066cb967257f92424d4fabcbaf0119 Mon Sep 17 00:00:00 2001 From: Mickael Zhang Date: Thu, 23 Apr 2020 20:29:06 +0200 Subject: [PATCH] rename any to isMatch --- src/ignoreFiles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ignoreFiles.js b/src/ignoreFiles.js index 4511f49b..36f1645e 100644 --- a/src/ignoreFiles.js +++ b/src/ignoreFiles.js @@ -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; }