From 7490119d3430da789e8f8f2ee62aea6d9e16860e Mon Sep 17 00:00:00 2001 From: Philip Fulcher Date: Sun, 4 Feb 2024 09:08:44 -0700 Subject: [PATCH] fix(core): nx cloud prompt during migrate doesn't skip connection --- packages/nx/src/command-line/connect/connect-to-nx-cloud.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/nx/src/command-line/connect/connect-to-nx-cloud.ts b/packages/nx/src/command-line/connect/connect-to-nx-cloud.ts index 2e59122c20754..2b743b18d3031 100644 --- a/packages/nx/src/command-line/connect/connect-to-nx-cloud.ts +++ b/packages/nx/src/command-line/connect/connect-to-nx-cloud.ts @@ -67,7 +67,8 @@ export async function connectToNxCloudCommand(): Promise { 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,