[ci] format

This commit is contained in:
matthewp 2023-03-15 17:55:26 +00:00 committed by fredkbot
parent bf024cb342
commit 7f17ab8029

View file

@ -343,7 +343,7 @@ async function cleanServerOutput(opts: StaticBuildOptions) {
// Clean out directly if the outDir is outside of root
if (out.toString() !== opts.settings.config.outDir.toString()) {
// Copy assets before cleaning directory if outside root
await copyFiles(out, opts.settings.config.outDir);
await copyFiles(out, opts.settings.config.outDir);
await fs.promises.rm(out, { recursive: true });
return;
}