Skip to content

Commit

Permalink
fix(core): also check for NX_AGENT_NAME
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKless committed Jul 18, 2024
1 parent 4cd203d commit bf1fe0e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/nx/src/tasks-runner/task-orchestrator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,9 @@ export class TaskOrchestrator {
if (
atomizedRootTask &&
!process.env.NX_CLOUD_DISTRIBUTED_EXECUTION_ID &&
!env.NX_CLOUD_DISTRIBUTED_EXECUTION_ID
!env.NX_CLOUD_DISTRIBUTED_EXECUTION_ID &&
!process.env.NX_AGENT_NAME &&
!env.NX_AGENT_NAME
) {
let terminalOutput = getAtomizerError(
serializeTarget(
Expand Down

0 comments on commit bf1fe0e

Please sign in to comment.