diff --git a/scripts/new-post.js b/scripts/new-post.js index f66a188c..41a0569c 100644 --- a/scripts/new-post.js +++ b/scripts/new-post.js @@ -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) }