Skip to content

Commit

Permalink
fix(cli): fix the creation log (#5502)
Browse files Browse the repository at this point in the history
  • Loading branch information
sodatea committed May 21, 2020
1 parent f425fff commit 538a028
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/@vue/cli/lib/Creator.js
Expand Up @@ -124,7 +124,7 @@ module.exports = class Creator extends EventEmitter {
const pm = new PackageManager({ context, forcePackageManager: packageManager })

await clearConsole()
log(`✨`, `Creating project in ${chalk.yellow(context)}.`)
log(`✨ Creating project in ${chalk.yellow(context)}.`)
this.emit('creation', { event: 'creating' })

// get latest CLI plugin version
Expand Down Expand Up @@ -162,7 +162,7 @@ module.exports = class Creator extends EventEmitter {
// so that vue-cli-service can setup git hooks.
const shouldInitGit = this.shouldInitGit(cliOptions)
if (shouldInitGit) {
log(`πŸ—ƒ`, `Initializing git repository...`)
log(`πŸ—ƒ Initializing git repository...`)
this.emit('creation', { event: 'git-init' })
await run('git init')
}
Expand Down Expand Up @@ -202,7 +202,7 @@ module.exports = class Creator extends EventEmitter {
}

// run complete cbs if any (injected by generators)
log('βš“', `Running completion hooks...`)
log(`βš“ Running completion hooks...`)
this.emit('creation', { event: 'completion-hooks' })
for (const cb of afterInvokeCbs) {
await cb()
Expand All @@ -214,7 +214,7 @@ module.exports = class Creator extends EventEmitter {
if (!generator.files['README.md']) {
// generate README.md
log()
log('πŸ“„', 'Generating README.md...')
log('πŸ“„ Generating README.md...')
await writeFileTree(context, {
'README.md': generateReadme(generator.pkg, packageManager)
})
Expand Down

0 comments on commit 538a028

Please sign in to comment.