@biffo/cli 0.298.6 → 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 +12 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -813,6 +813,9 @@ async function classify(path, base, ours, theirs, opts, mergeFile, isDeclaredDiv
|
|
|
813
813
|
const inOurs = ours.has(path);
|
|
814
814
|
const inTheirs = theirs.has(path);
|
|
815
815
|
if (!inBase && !inTheirs) {
|
|
816
|
+
if (isDeclaredDivergent(path)) {
|
|
817
|
+
return { path, status: "keep-ours", conflicted: false, orphaned: false };
|
|
818
|
+
}
|
|
816
819
|
return { path, status: "keep-ours", conflicted: false, orphaned: true };
|
|
817
820
|
}
|
|
818
821
|
if (!inBase && inTheirs) {
|
|
@@ -12151,13 +12154,20 @@ function findWorkflowFiles(repoRoot) {
|
|
|
12151
12154
|
return;
|
|
12152
12155
|
}
|
|
12153
12156
|
for (const entry of entries) {
|
|
12154
|
-
if (entry === "node_modules" || entry === ".git" || entry === ".worktrees")
|
|
12157
|
+
if (entry === "node_modules" || entry === ".git" || entry === ".worktrees" || entry === ".venv")
|
|
12158
|
+
continue;
|
|
12155
12159
|
if (entry === ".github" && relative11.startsWith("services/") && vendoredPluginDirs.has(relative11.slice("services/".length))) {
|
|
12156
12160
|
continue;
|
|
12157
12161
|
}
|
|
12158
12162
|
const full = join49(dir, entry);
|
|
12159
12163
|
const rel = relative11 ? `${relative11}/${entry}` : entry;
|
|
12160
|
-
|
|
12164
|
+
let isDir;
|
|
12165
|
+
try {
|
|
12166
|
+
isDir = statSync13(full).isDirectory();
|
|
12167
|
+
} catch {
|
|
12168
|
+
continue;
|
|
12169
|
+
}
|
|
12170
|
+
if (isDir) {
|
|
12161
12171
|
walk2(full, rel);
|
|
12162
12172
|
} else if (/\.ya?ml$/.test(entry) && relative11.endsWith(".github/workflows")) {
|
|
12163
12173
|
found.push(rel);
|