Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): fix the creation log #5502

Merged
merged 1 commit into from May 21, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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