Skip to content

Commit c2b7529

Browse files
authored
fix(create-vite): change create-app prompt to not remove existing files by default (#18710)
1 parent b80d5ec commit c2b7529

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/create-vite/src/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -343,14 +343,14 @@ async function init() {
343343
` is not empty. Please choose how to proceed:`,
344344
initial: 0,
345345
choices: [
346-
{
347-
title: 'Remove existing files and continue',
348-
value: 'yes',
349-
},
350346
{
351347
title: 'Cancel operation',
352348
value: 'no',
353349
},
350+
{
351+
title: 'Remove existing files and continue',
352+
value: 'yes',
353+
},
354354
{
355355
title: 'Ignore files and continue',
356356
value: 'ignore',

0 commit comments

Comments
 (0)