From dc6de0ec81fd87a4e71b09091899cf96d4facee3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 7 May 2026 10:57:20 +0200 Subject: [PATCH] docs(sandcastle): fix stale JSDoc referencing empty string sentinel --- .sandcastle/refinement-loop.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.sandcastle/refinement-loop.ts b/.sandcastle/refinement-loop.ts index b82275a1..e3f12080 100644 --- a/.sandcastle/refinement-loop.ts +++ b/.sandcastle/refinement-loop.ts @@ -233,9 +233,9 @@ export async function runRefinementLoop ( } /** - * Captures the current HEAD SHA, returning empty string on failure. + * Captures the current HEAD SHA, returning null on failure. * @param cwd - Working directory for git operations. - * @returns The HEAD SHA or empty string. + * @returns The HEAD SHA or null. */ async function captureHeadSha (cwd: string): Promise { try { @@ -631,7 +631,7 @@ async function runCritic ( /** * Returns true if the best-state reset should be applied after the loop. * @param status - Final loop status. - * @param bestSha - Best intermediate SHA (empty string if none captured). + * @param bestSha - Best intermediate SHA (null if none captured). * @returns True if reset should be applied. */ function shouldResetToBest (status: LoopStatus, bestSha: null | string): boolean { -- 2.53.0