mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-01-19 13:50:11 -06: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