Scripts: don't run generateLayouts in sync to avoid hitting the same servers multiple times

This commit is contained in:
Pieter Vander Vennet 2025-07-09 02:06:52 +02:00
parent ea000d817e
commit ee47fd6ada

View file

@ -527,7 +527,9 @@ class GenerateLayouts extends Script {
(config) => (theme !== undefined && config.id === theme) || !blacklist.has(config.id)
)
await Promise.all(configsFiltered.map((config) => this.createThemeFor(config)))
for (const config of configsFiltered) {
await this.createThemeFor(config)
}
const { manifest } = await this.createManifest(
new ThemeConfig({