fix: output incorrect symbol in console (#290)
This commit is contained in:
parent
1b4b859e87
commit
18cc3e0d4f
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ const targetDir = "./src/content/posts/"
|
|||
const fullPath = path.join(targetDir, fileName)
|
||||
|
||||
if (fs.existsSync(fullPath)) {
|
||||
console.error(`Error:File ${fullPath} already exists `)
|
||||
console.error(`Error: File ${fullPath} already exists `)
|
||||
process.exit(1)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue