[ci] format
This commit is contained in:
parent
bf024cb342
commit
7f17ab8029
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ async function cleanServerOutput(opts: StaticBuildOptions) {
|
||||||
// Clean out directly if the outDir is outside of root
|
// Clean out directly if the outDir is outside of root
|
||||||
if (out.toString() !== opts.settings.config.outDir.toString()) {
|
if (out.toString() !== opts.settings.config.outDir.toString()) {
|
||||||
// Copy assets before cleaning directory if outside root
|
// 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 });
|
await fs.promises.rm(out, { recursive: true });
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue