fix: output incorrect symbol in console (#290)

This commit is contained in:
noeFly
2025-01-19 15:59:37 +08:00
committed by GitHub
parent 1b4b859e87
commit 18cc3e0d4f

View File

@@ -32,7 +32,7 @@ const targetDir = "./src/content/posts/"
const fullPath = path.join(targetDir, fileName)
if (fs.existsSync(fullPath)) {
console.error(`ErrorFile ${fullPath} already exists `)
console.error(`Error: File ${fullPath} already exists `)
process.exit(1)
}