Skip to content

Commit 7871c5c

Browse files
committed
fix: fix overwrite prompt
1 parent 313533d commit 7871c5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ async function create (projectName, options) {
1313
if (options.force) {
1414
rimraf.sync(targetDir)
1515
} else {
16-
clearConsole()
16+
await clearConsole()
1717
const { action } = await inquirer.prompt([
1818
{
1919
name: 'action',

0 commit comments

Comments
 (0)