mirror of
https://github.com/saicaca/fuwari.git
synced 2026-01-11 14:52:52 +01:00
fix: output incorrect symbol in console (#290)
This commit is contained in:
@@ -32,7 +32,7 @@ const targetDir = "./src/content/posts/"
|
|||||||
const fullPath = path.join(targetDir, fileName)
|
const fullPath = path.join(targetDir, fileName)
|
||||||
|
|
||||||
if (fs.existsSync(fullPath)) {
|
if (fs.existsSync(fullPath)) {
|
||||||
console.error(`Error:File ${fullPath} already exists `)
|
console.error(`Error: File ${fullPath} already exists `)
|
||||||
process.exit(1)
|
process.exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user