From 06985acff369bceec85ad03eb36fe713d838b4b0 Mon Sep 17 00:00:00 2001 From: user Date: Mon, 20 Jul 2026 12:30:30 -0300 Subject: [PATCH] fix: handle first run with no previous source.jsonl --- src/update/tasks/diffs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/update/tasks/diffs.ts b/src/update/tasks/diffs.ts index 39a6cbbea83..f939dc7dde5 100644 --- a/src/update/tasks/diffs.ts +++ b/src/update/tasks/diffs.ts @@ -13,7 +13,7 @@ function parseSource(text: string) { async function diffCode() { if (!prevFiles.has("source.jsonl")) { - throw new Error("Missing prevFile: source.jsonl"); + return; } const oldCode = parseSource(new TextDecoder().decode(prevFiles.get("source.jsonl")));