fix(clawsweeper): address review for automerge-openclaw-openclaw-75702 (validation-1)

This commit is contained in:
clawsweeper
2026-05-24 02:00:56 +00:00
parent adeed3d1d6
commit 0eec196962

View File

@@ -242,6 +242,7 @@ function disableShrinkwrappedOverrideConflictSources(lockfile, overrideRules) {
if (!packages || typeof packages !== "object") {
return [];
}
/** @type {Set<string>} */
const disabled = new Set();
for (const violation of collectOverrideViolations(lockfile, overrideRules)) {
const ancestors = violation.packagePath.slice(0, -1).toReversed();