mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 11:17:05 +02:00
Update discoverIds.ts
This commit is contained in:
1 parent
fe9e300c80
commit
1fd9c9e6b0
1 file changed
+3
-1
@@ -48,7 +48,9 @@ while (chunkIndex < preDiscoveredManifest.chunks) {
|
||||
});
|
||||
|
||||
// no spread syntax: https://github.com/oven-sh/bun/issues/11734
|
||||
preDiscovered.forEach((id) => !ids.includes(id) && ids.push(id));
|
||||
preDiscovered.forEach((id) => {
|
||||
if (!ids.includes(id)) ids.push(id);
|
||||
});
|
||||
|
||||
console.log(
|
||||
`Pre-discovered ${preDiscovered.length} ids (chunk ${chunkIndex})`,
|
||||
|
||||
Reference in new issue
Block a user