Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fa599fd

Browse files
authored
Merge pull request #12 from kidonng/patch-1
fix: typos
2 parents 5793a13 + ab56730 commit fa599fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎scripts/create.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ const templatePath = path.join(__dirname, 'template.mdx')
88
const create = async () => {
99
const hasPosts = await fs.pathExists(postsPath)
1010
if (!hasPosts) {
11-
console.log(chalk.red(' About. Not found dir "/page/posts".\n'))
11+
console.log(chalk.red(' Aborted. Not found dir "/page/posts".\n'))
1212
process.exit(1)
1313
}
1414

1515
const promptText = `> You need to specify the post ${chalk.bold('Filename')} (required): `
1616
const answer = prompt(chalk.hex('#bdbdbd')(promptText))
1717

1818
if (!answer) {
19-
console.log(chalk.yellow(' About. Nothing has changed.\n'))
19+
console.log(chalk.yellow(' Aborted. Nothing has changed.\n'))
2020
process.exit(1)
2121
}
2222

@@ -29,7 +29,7 @@ const create = async () => {
2929

3030
const hasFile = await fs.pathExists(filePath)
3131
if (hasFile) {
32-
console.log(chalk.red(` About. File ${postsPath} is exists.\n`))
32+
console.log(chalk.red(` Aborted. File ${postsPath} is exists.\n`))
3333
process.exit(1)
3434
}
3535

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /