Skip to content

Commit 538a028

Browse files
authored
fix(cli): fix the creation log (#5502)
1 parent f425fff commit 538a028

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/@vue/cli/lib/Creator.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ module.exports = class Creator extends EventEmitter {
124124
const pm = new PackageManager({ context, forcePackageManager: packageManager })
125125

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

130130
// get latest CLI plugin version
@@ -162,7 +162,7 @@ module.exports = class Creator extends EventEmitter {
162162
// so that vue-cli-service can setup git hooks.
163163
const shouldInitGit = this.shouldInitGit(cliOptions)
164164
if (shouldInitGit) {
165-
log(`🗃`, `Initializing git repository...`)
165+
log(`🗃 Initializing git repository...`)
166166
this.emit('creation', { event: 'git-init' })
167167
await run('git init')
168168
}
@@ -202,7 +202,7 @@ module.exports = class Creator extends EventEmitter {
202202
}
203203

204204
// run complete cbs if any (injected by generators)
205-
log('⚓', `Running completion hooks...`)
205+
log(`⚓ Running completion hooks...`)
206206
this.emit('creation', { event: 'completion-hooks' })
207207
for (const cb of afterInvokeCbs) {
208208
await cb()
@@ -214,7 +214,7 @@ module.exports = class Creator extends EventEmitter {
214214
if (!generator.files['README.md']) {
215215
// generate README.md
216216
log()
217-
log('📄', 'Generating README.md...')
217+
log('📄 Generating README.md...')
218218
await writeFileTree(context, {
219219
'README.md': generateReadme(generator.pkg, packageManager)
220220
})

0 commit comments

Comments
 (0)