@biffo/cli 0.298.7 → 0.298.8
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 +9 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12154,13 +12154,20 @@ function findWorkflowFiles(repoRoot) {
|
|
|
12154
12154
|
return;
|
|
12155
12155
|
}
|
|
12156
12156
|
for (const entry of entries) {
|
|
12157
|
-
if (entry === "node_modules" || entry === ".git" || entry === ".worktrees")
|
|
12157
|
+
if (entry === "node_modules" || entry === ".git" || entry === ".worktrees" || entry === ".venv")
|
|
12158
|
+
continue;
|
|
12158
12159
|
if (entry === ".github" && relative11.startsWith("services/") && vendoredPluginDirs.has(relative11.slice("services/".length))) {
|
|
12159
12160
|
continue;
|
|
12160
12161
|
}
|
|
12161
12162
|
const full = join49(dir, entry);
|
|
12162
12163
|
const rel = relative11 ? `${relative11}/${entry}` : entry;
|
|
12163
|
-
|
|
12164
|
+
let isDir;
|
|
12165
|
+
try {
|
|
12166
|
+
isDir = statSync13(full).isDirectory();
|
|
12167
|
+
} catch {
|
|
12168
|
+
continue;
|
|
12169
|
+
}
|
|
12170
|
+
if (isDir) {
|
|
12164
12171
|
walk2(full, rel);
|
|
12165
12172
|
} else if (/\.ya?ml$/.test(entry) && relative11.endsWith(".github/workflows")) {
|
|
12166
12173
|
found.push(rel);
|