mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-03-21 02:21:00 -05:00
make sure to await writeFileTree
This commit is contained in:
@@ -83,7 +83,7 @@ module.exports = class Creator {
|
||||
// write base package.json to disk
|
||||
clearConsole()
|
||||
logWithSpinner('✨', `Creating project in ${chalk.yellow(context)}.`)
|
||||
writeFileTree(context, {
|
||||
await writeFileTree(context, {
|
||||
'package.json': JSON.stringify({
|
||||
name,
|
||||
version: '0.1.0',
|
||||
|
||||
Reference in New Issue
Block a user