Skip to content

Commit

Permalink
fix(create-vite): change create-app prompt to not remove existing fil…
Browse files Browse the repository at this point in the history
…es by default (#18710)
  • Loading branch information
texuf authored Nov 21, 2024
1 parent b80d5ec commit c2b7529
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/create-vite/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,14 +343,14 @@ async function init() {
` is not empty. Please choose how to proceed:`,
initial: 0,
choices: [
{
title: 'Remove existing files and continue',
value: 'yes',
},
{
title: 'Cancel operation',
value: 'no',
},
{
title: 'Remove existing files and continue',
value: 'yes',
},
{
title: 'Ignore files and continue',
value: 'ignore',
Expand Down

0 comments on commit c2b7529

Please sign in to comment.