Skip to content

Commit

Permalink
chore: upgrade ignore to v5.2.0 (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Mar 4, 2022
1 parent 67a7d5a commit 98fb12d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/config-array/ignore-pattern.js
Expand Up @@ -156,8 +156,8 @@ class IgnorePattern {
const patterns = [].concat(
...ignorePatterns.map(p => p.getPatternsRelativeTo(basePath))
);
const ig = ignore().add([...DotPatterns, ...patterns]);
const dotIg = ignore().add(patterns);
const ig = ignore({ allowRelativePaths: true }).add([...DotPatterns, ...patterns]);
const dotIg = ignore({ allowRelativePaths: true }).add(patterns);

debug(" processed: %o", { basePath, patterns });

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -69,7 +69,7 @@
"debug": "^4.3.2",
"espree": "^9.3.1",
"globals": "^13.9.0",
"ignore": "^4.0.6",
"ignore": "^5.2.0",
"import-fresh": "^3.2.1",
"js-yaml": "^4.1.0",
"minimatch": "^3.0.4",
Expand Down

0 comments on commit 98fb12d

Please sign in to comment.