@fern-api/generator-cli 0.9.34 → 0.9.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.js +1 -1
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -8179,7 +8179,7 @@ function expandFernignorePatterns(fernignoreContent, candidatePaths) {
|
|
|
8179
8179
|
}
|
|
8180
8180
|
function matches(candidate, pattern) {
|
|
8181
8181
|
const normalized = pattern.endsWith("/") ? pattern.slice(0, -1) : pattern;
|
|
8182
|
-
if (minimatch(candidate, normalized, { dot: true })) {
|
|
8182
|
+
if (minimatch(candidate, normalized, { dot: true, nonegate: true })) {
|
|
8183
8183
|
return true;
|
|
8184
8184
|
}
|
|
8185
8185
|
return candidate === normalized || candidate.startsWith(normalized + "/");
|
package/dist/cli.js
CHANGED
|
@@ -32026,7 +32026,7 @@ function expandFernignorePatterns(fernignoreContent, candidatePaths) {
|
|
|
32026
32026
|
}
|
|
32027
32027
|
function matches(candidate, pattern) {
|
|
32028
32028
|
const normalized = pattern.endsWith("/") ? pattern.slice(0, -1) : pattern;
|
|
32029
|
-
if (minimatch(candidate, normalized, { dot: true })) {
|
|
32029
|
+
if (minimatch(candidate, normalized, { dot: true, nonegate: true })) {
|
|
32030
32030
|
return true;
|
|
32031
32031
|
}
|
|
32032
32032
|
return candidate === normalized || candidate.startsWith(normalized + "/");
|