File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,10 +77,6 @@ const FEATURE_OPTIONS = [
7777 value : 'prettier' ,
7878 label : language . needsPrettier . message ,
7979 } ,
80- {
81- value : 'experimental-features' ,
82- label : language . needsExperimental . message ,
83- } ,
8480] as const
8581const EXPERIMENTAL_FEATURE_OPTIONS = [
8682 {
@@ -338,17 +334,14 @@ async function init() {
338334 } ) ,
339335 )
340336 }
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+ )
352345 }
353346
354347 const { features , experimentFeatures } = result
You can’t perform that action at this time.
0 commit comments