Skip to content

Commit

Permalink
fix: fix overwrite prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Feb 3, 2018
1 parent 313533d commit 7871c5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli/lib/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ async function create (projectName, options) {
if (options.force) {
rimraf.sync(targetDir)
} else {
clearConsole()
await clearConsole()
const { action } = await inquirer.prompt([
{
name: 'action',
Expand Down

0 comments on commit 7871c5c

Please sign in to comment.