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")));