Skip to content

Commit

Permalink
fix(core): fix NX_TASK_TARGET_CONFIGURATION being set to 'null' (#15725)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz committed Mar 16, 2023
1 parent 4b9865c commit 1e27759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nx/src/tasks-runner/forked-process-task-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ export class ForkedProcessTaskRunner {
const env: NodeJS.ProcessEnv = {
NX_TASK_TARGET_PROJECT: task.target.project,
NX_TASK_TARGET_TARGET: task.target.target,
NX_TASK_TARGET_CONFIGURATION: task.target.configuration,
NX_TASK_TARGET_CONFIGURATION: task.target.configuration ?? undefined,
NX_TASK_HASH: task.hash,
// used when Nx is invoked via Lerna
LERNA_PACKAGE_NAME: task.target.project,
Expand Down

1 comment on commit 1e27759

@vercel
Copy link

@vercel vercel bot commented on 1e27759 Mar 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx-dev-nrwl.vercel.app
nx.dev
nx-five.vercel.app

Please sign in to comment.