@biffo/cli 0.298.37 → 0.298.39
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/index.js +15 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9624,7 +9624,12 @@ function walkExcluding(root, dir, excludes) {
|
|
|
9624
9624
|
for (const entry of readdirSync14(dir)) {
|
|
9625
9625
|
if (excludes.has(entry) || entry === ".git") continue;
|
|
9626
9626
|
const full = join35(dir, entry);
|
|
9627
|
-
|
|
9627
|
+
let stat;
|
|
9628
|
+
try {
|
|
9629
|
+
stat = statSync8(full);
|
|
9630
|
+
} catch {
|
|
9631
|
+
continue;
|
|
9632
|
+
}
|
|
9628
9633
|
if (stat.isDirectory()) {
|
|
9629
9634
|
out.push(...walkExcluding(root, full, excludes));
|
|
9630
9635
|
} else {
|
|
@@ -11340,10 +11345,17 @@ function findModuleTerraformFiles(repoRoot) {
|
|
|
11340
11345
|
return;
|
|
11341
11346
|
}
|
|
11342
11347
|
for (const entry of entries) {
|
|
11343
|
-
if (entry === "node_modules" || entry === ".git" || entry === ".worktrees")
|
|
11348
|
+
if (entry === "node_modules" || entry === ".git" || entry === ".worktrees" || entry === ".venv")
|
|
11349
|
+
continue;
|
|
11344
11350
|
const full = join44(dir, entry);
|
|
11345
11351
|
const rel = `${relative11}/${entry}`;
|
|
11346
|
-
|
|
11352
|
+
let isDir;
|
|
11353
|
+
try {
|
|
11354
|
+
isDir = statSync10(full).isDirectory();
|
|
11355
|
+
} catch {
|
|
11356
|
+
continue;
|
|
11357
|
+
}
|
|
11358
|
+
if (isDir) {
|
|
11347
11359
|
walk2(full, rel);
|
|
11348
11360
|
} else if (entry.endsWith(".tf")) {
|
|
11349
11361
|
found.push(rel);
|