test(gemini): keep retry assertion behavioral

This commit is contained in:
usr-bin-roygbiv
2026-08-14 02:54:25 +00:00
parent fe33232298
commit ed108dec8b
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ function repairOrphanClosingFence(text: string): string {
open = undefined;
}
}
if (!open || open.info !== "") return text;
if (open?.info !== "") return text;
let previous = "";
for (let index = open.index - 1; index >= 0; index--) {