Skip to content

Commit

Permalink
fix(core): handle neverConnectToCloud property
Browse files Browse the repository at this point in the history
  • Loading branch information
Cammisuli committed Oct 15, 2024
1 parent e0f9a5c commit 71982ac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/nx/src/utils/nx-cloud-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ export function isNxCloudUsed(nxJson: NxJsonConfiguration): boolean {
return false;
}

if (nxJson.neverConnectToCloud) {
return true;
}

return (
!!process.env.NX_CLOUD_ACCESS_TOKEN ||
!!nxJson.nxCloudAccessToken ||
Expand Down

0 comments on commit 71982ac

Please sign in to comment.