Skip to content

Commit 84a6f9d

Browse files
vsavkinclaudeFrozenPandaz
authored
fix(misc): fix setup selection (#31997)
<!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior <!-- This is the behavior we have today --> ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes # --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Jason Jean <FrozenPandaz@users.noreply.github.com>
1 parent 27330b5 commit 84a6f9d

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

packages/nx/src/command-line/init/init-v2.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,10 @@ export async function initHandler(options: InitArgs): Promise<void> {
7575
type: 'select',
7676
name: 'setupPreference',
7777
message: 'Would you like a minimum or guided setup?',
78-
choices: [
79-
{ name: 'Minimum', value: 'min' },
80-
{ name: 'Guided', value: 'guided' },
81-
],
78+
choices: [{ name: 'Minimum' }, { name: 'Guided' }],
8279
},
8380
]).then((r) => r.setupPreference);
84-
guided = setupType === 'guided';
81+
guided = setupType === 'Guided';
8582
}
8683

8784
/**

0 commit comments

Comments
 (0)