Skip to content

Commit

Permalink
fix(nx-cloud): fix nx-cloud detection
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz committed Apr 3, 2023
1 parent 821e554 commit 3dfba94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/nx/src/utils/nx-cloud-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { readNxJson } from '../config/configuration';
export function isNxCloudUsed() {
const nxJson = readNxJson();
return Object.values(nxJson.tasksRunnerOptions).find(
(r) => r.runner == '@nx/nx-cloud'
// TODO: Remove handling `@nrwl/nx-cloud` in v17
(r) => ['@nx/nx-cloud', '@nrwl/nx-cloud'].includes(r.runner)
);
}

Expand Down

0 comments on commit 3dfba94

Please sign in to comment.