format
This commit is contained in:
parent
f56c5c3939
commit
0320da77d0
@ -192,7 +192,10 @@ yargs(hideBin(process.argv))
|
|||||||
|
|
||||||
await rmContentFolder()
|
await rmContentFolder()
|
||||||
if (setupStrategy === "copy") {
|
if (setupStrategy === "copy") {
|
||||||
await fs.promises.cp(originalFolder, contentFolder, { recursive: true, preserveTimestamps: true })
|
await fs.promises.cp(originalFolder, contentFolder, {
|
||||||
|
recursive: true,
|
||||||
|
preserveTimestamps: true,
|
||||||
|
})
|
||||||
} else if (setupStrategy === "symlink") {
|
} else if (setupStrategy === "symlink") {
|
||||||
await fs.promises.symlink(originalFolder, contentFolder, "dir")
|
await fs.promises.symlink(originalFolder, contentFolder, "dir")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user