node_modules/@eslint/config-array/dist/cjs/index.cjs in immosquare-cleaner-0.1.42 vs node_modules/@eslint/config-array/dist/cjs/index.cjs in immosquare-cleaner-0.1.43
- old
+ new
@@ -1168,9 +1168,14 @@
const relativeDirectoryPath = path
.relative(this.basePath, directoryPath)
.replace(/\\/gu, "/");
+ // basePath directory can never be ignored
+ if (relativeDirectoryPath === "") {
+ return false;
+ }
+
if (relativeDirectoryPath.startsWith("..")) {
return true;
}
// first check the cache