From fe9e300c80008def584de2bdd2557ca264883687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Sun, 9 Jun 2024 23:43:13 -0500 Subject: [PATCH] Update discoverIds.ts --- scripts/discoverIds.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/discoverIds.ts b/scripts/discoverIds.ts index 494682436..fd634a331 100644 --- a/scripts/discoverIds.ts +++ b/scripts/discoverIds.ts @@ -48,7 +48,7 @@ while (chunkIndex < preDiscoveredManifest.chunks) { }); // no spread syntax: https://github.com/oven-sh/bun/issues/11734 - preDiscovered.forEach((id) => ids.push(id)); + preDiscovered.forEach((id) => !ids.includes(id) && ids.push(id)); console.log( `Pre-discovered ${preDiscovered.length} ids (chunk ${chunkIndex})`,