Skip to content

Commit 18cc3e0

Browse files
authored
fix: output incorrect symbol in console (saicaca#290)
1 parent 1b4b859 commit 18cc3e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/new-post.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const targetDir = "./src/content/posts/"
3232
const fullPath = path.join(targetDir, fileName)
3333

3434
if (fs.existsSync(fullPath)) {
35-
console.error(`ErrorFile ${fullPath} already exists `)
35+
console.error(`Error: File ${fullPath} already exists `)
3636
process.exit(1)
3737
}
3838

0 commit comments

Comments
 (0)