diff --git a/packages/nx/src/command-line/connect-to-nx-cloud.ts b/packages/nx/src/command-line/connect-to-nx-cloud.ts index 56798b077648f..12b34b971a719 100644 --- a/packages/nx/src/command-line/connect-to-nx-cloud.ts +++ b/packages/nx/src/command-line/connect-to-nx-cloud.ts @@ -43,7 +43,7 @@ export async function connectToNxCloudCommand( return; } - const res = await connectToNxCloudPrompt(); + const res = await connectToNxCloudPrompt(promptOverride); if (!res) return; const pmc = getPackageManagerCommand(); execSync(`${pmc.addDev} @nrwl/nx-cloud@latest`);