From 28cae60bd791a04261da778bcaf2d54e0633c0b3 Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Tue, 1 Sep 2026 08:22:58 +0200 Subject: [PATCH] style: prettier on registry (the resumable-download block) --- src/ml/imf/registry.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ml/imf/registry.ts b/src/ml/imf/registry.ts index 33c86c3..3768cb1 100644 --- a/src/ml/imf/registry.ts +++ b/src/ml/imf/registry.ts @@ -204,7 +204,8 @@ async function fetchWithProgress( } catch { continue } - if (!res.ok && res.status !== 206) throw new RegistryError(`fetch failed: ${url} -> ${res.status}`) + if (!res.ok && res.status !== 206) + throw new RegistryError(`fetch failed: ${url} -> ${res.status}`) if (received === 0) total = Number(res.headers.get("content-length") ?? 0) else if (res.status !== 206) { // server ignored Range: restart cleanly rather than corrupt