chore: fix eslint errors introduced in phase 4 backend

This commit is contained in:
Gabriel Brown
2026-07-11 15:37:51 -04:00
parent 75d7592cf3
commit 0347d58f71
3 changed files with 22 additions and 21 deletions
@@ -16,6 +16,9 @@ export const maintenanceDedupKey = (input: {
}): string | null => {
const head = input.headSha?.trim();
if (!head) return null;
// Intentional `||`: an empty/whitespace merge base must collapse to the
// 'nobase' sentinel, which `??` would not do (it keeps the empty string).
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
const base = input.mergeBaseSha?.trim() || 'nobase';
return `${base}:${head}`;
};