@humanwhocodes/config-array
Advanced tools
Comparing version 0.11.4 to 0.11.5
10
api.js
@@ -581,2 +581,12 @@ 'use strict'; | ||
// unignoring files won't work unless we unignore directories too | ||
if (ignore.startsWith('!')) { | ||
if (ignore.endsWith('/**')) { | ||
result.push(ignore.slice(0, ignore.length - 3)); | ||
} else if (ignore.endsWith('/*')) { | ||
result.push(ignore.slice(0, ignore.length - 2)); | ||
} | ||
} | ||
// directories should work with or without a trailing slash | ||
@@ -583,0 +593,0 @@ if (ignore.endsWith('/')) { |
# Changelog | ||
## [0.11.5](https://github.com/humanwhocodes/config-array/compare/v0.11.4...v0.11.5) (2022-10-17) | ||
### Bug Fixes | ||
* Unignoring of directories should work ([e1c9dcd](https://github.com/humanwhocodes/config-array/commit/e1c9dcd05534619effe258596191ea9dc5bb37af)) | ||
## [0.11.4](https://github.com/humanwhocodes/config-array/compare/v0.11.3...v0.11.4) (2022-10-14) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@humanwhocodes/config-array", | ||
"version": "0.11.4", | ||
"version": "0.11.5", | ||
"description": "Glob-based configuration matching.", | ||
@@ -5,0 +5,0 @@ "author": "Nicholas C. Zakas", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
58983
718