mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 11:36:23 +00:00
format
This commit is contained in:
parent
569beb410b
commit
8bc7a50dfa
1 changed files with 4 additions and 1 deletions
|
@ -192,7 +192,10 @@ yargs(hideBin(process.argv))
|
|||
|
||||
await rmContentFolder()
|
||||
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") {
|
||||
await fs.promises.symlink(originalFolder, contentFolder, "dir")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue