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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)
}