File tree Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -77,10 +77,6 @@ const FEATURE_OPTIONS = [
77
77
value : 'prettier' ,
78
78
label : language . needsPrettier . message ,
79
79
} ,
80
- {
81
- value : 'experimental-features' ,
82
- label : language . needsExperimental . message ,
83
- } ,
84
80
] as const
85
81
const EXPERIMENTAL_FEATURE_OPTIONS = [
86
82
{
@@ -338,17 +334,14 @@ async function init() {
338
334
} ) ,
339
335
)
340
336
}
341
-
342
- if ( result . features . includes ( 'experimental-features' ) ) {
343
- result . experimentFeatures = await unwrapPrompt (
344
- multiselect ( {
345
- message : `${ language . needsExperimentalFeatures . message } ${ dim ( language . needsExperimentalFeatures . hint ) } ` ,
346
- // @ts -expect-error @clack/prompt's type doesn't support readonly array yet
347
- options : EXPERIMENTAL_FEATURE_OPTIONS ,
348
- required : false ,
349
- } ) ,
350
- )
351
- }
337
+ result . experimentFeatures = await unwrapPrompt (
338
+ multiselect ( {
339
+ message : `${ language . needsExperimentalFeatures . message } ${ dim ( language . needsExperimentalFeatures . hint ) } ` ,
340
+ // @ts -expect-error @clack/prompt's type doesn't support readonly array yet
341
+ options : EXPERIMENTAL_FEATURE_OPTIONS ,
342
+ required : false ,
343
+ } ) ,
344
+ )
352
345
}
353
346
354
347
const { features , experimentFeatures } = result
You can’t perform that action at this time.
0 commit comments