mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 20:19:49 +02:00
Update discoverIds.ts
This commit is contained in:
1 parent
785407c8ff
commit
fe9e300c80
1 file changed
+1
-1
@@ -48,7 +48,7 @@ while (chunkIndex < preDiscoveredManifest.chunks) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// no spread syntax: https://github.com/oven-sh/bun/issues/11734
|
// 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(
|
console.log(
|
||||||
`Pre-discovered ${preDiscovered.length} ids (chunk ${chunkIndex})`,
|
`Pre-discovered ${preDiscovered.length} ids (chunk ${chunkIndex})`,
|
||||||
|
|||||||
Reference in new issue
Block a user