From c2b75292f48be0371e337193c3b37a67b8212f97 Mon Sep 17 00:00:00 2001 From: texuf Date: Wed, 20 Nov 2024 18:49:20 -0800 Subject: [PATCH] fix(create-vite): change create-app prompt to not remove existing files by default (#18710) --- packages/create-vite/src/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/create-vite/src/index.ts b/packages/create-vite/src/index.ts index 0c67d3c41fe5ce..9b1449eefa58cd 100755 --- a/packages/create-vite/src/index.ts +++ b/packages/create-vite/src/index.ts @@ -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',