File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
packages/next-codemod/bin Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -513,12 +513,10 @@ async function suggestCodemods(
513
513
async function suggestReactCodemods ( ) : Promise < boolean > {
514
514
const { runReactCodemod } = await prompts (
515
515
{
516
- type : 'toggle ' ,
516
+ type : 'confirm ' ,
517
517
name : 'runReactCodemod' ,
518
518
message : 'Would you like to run the React 19 upgrade codemod?' ,
519
519
initial : true ,
520
- active : 'Yes' ,
521
- inactive : 'No' ,
522
520
} ,
523
521
{ onCancel }
524
522
)
@@ -529,12 +527,10 @@ async function suggestReactCodemods(): Promise<boolean> {
529
527
async function suggestReactTypesCodemods ( ) : Promise < boolean > {
530
528
const { runReactTypesCodemod } = await prompts (
531
529
{
532
- type : 'toggle ' ,
530
+ type : 'confirm ' ,
533
531
name : 'runReactTypesCodemod' ,
534
532
message : 'Would you like to run the React 19 Types upgrade codemod?' ,
535
533
initial : true ,
536
- active : 'Yes' ,
537
- inactive : 'No' ,
538
534
} ,
539
535
{ onCancel }
540
536
)
You can’t perform that action at this time.
0 commit comments