Skip to content

Commit

Permalink
fix(core): nx cloud prompt during migrate doesn't skip connection
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Fulcher authored and Philip Fulcher committed Feb 4, 2024
1 parent cc282b2 commit 7490119
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/nx/src/command-line/connect/connect-to-nx-cloud.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ export async function connectToNxCloudCommand(): Promise<boolean> {

export async function connectToNxCloudWithPrompt(command: string) {
const setNxCloud = await nxCloudPrompt('setupNxCloud');
const useCloud = setNxCloud ? await connectToNxCloudCommand() : false;
const useCloud =
setNxCloud === 'yes' ? await connectToNxCloudCommand() : false;
await recordStat({
command,
nxVersion,
Expand Down

0 comments on commit 7490119

Please sign in to comment.