mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -05:00
[ci] format
This commit is contained in:
parent
02c37c7b8c
commit
16af927e14
1 changed files with 2 additions and 3 deletions
|
@ -508,15 +508,14 @@ export function pluginContent(
|
|||
return;
|
||||
}
|
||||
// Cache build output of chunks and assets
|
||||
const promises: Promise<void[] | undefined>[] = []
|
||||
const promises: Promise<void[] | undefined>[] = [];
|
||||
for (const { cached, dist } of cachedBuildOutput) {
|
||||
if (fsMod.existsSync(dist)) {
|
||||
promises.push(copyFiles(dist, cached, true));
|
||||
}
|
||||
}
|
||||
|
||||
if (promises.length)
|
||||
await Promise.all(promises)
|
||||
if (promises.length) await Promise.all(promises);
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue