diff --git a/src/api/export.ts b/src/api/export.ts index f0a0a5779..dbe4cb089 100644 --- a/src/api/export.ts +++ b/src/api/export.ts @@ -118,9 +118,7 @@ async function execute(emitter: EventEmitter, { } }); - for (const url of urls) { - await handle(url); - } + await Promise.all(urls.map(handle)); } } }