mirror of
https://github.com/alrayyes/wiki.git
synced 2025-05-01 22:48:14 +00:00
This reverts commit 8eec47c340
.
This commit is contained in:
parent
8eec47c340
commit
30640e3441
4 changed files with 5 additions and 27 deletions
quartz/cli
|
@ -5,6 +5,7 @@ import chalk from "chalk"
|
|||
import { sassPlugin } from "esbuild-sass-plugin"
|
||||
import fs from "fs"
|
||||
import { intro, outro, select, text } from "@clack/prompts"
|
||||
import { rimraf } from "rimraf"
|
||||
import chokidar from "chokidar"
|
||||
import prettyBytes from "pretty-bytes"
|
||||
import { execSync, spawnSync } from "child_process"
|
||||
|
@ -20,7 +21,6 @@ import {
|
|||
gitPull,
|
||||
popContentFolder,
|
||||
stashContentFolder,
|
||||
rmrf,
|
||||
} from "./helpers.js"
|
||||
import {
|
||||
UPSTREAM_NAME,
|
||||
|
@ -109,7 +109,7 @@ export async function handleCreate(argv) {
|
|||
if (contentStat.isSymbolicLink()) {
|
||||
await fs.promises.unlink(contentFolder)
|
||||
} else {
|
||||
await rmrf(contentFolder)
|
||||
await rimraf(contentFolder)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue