Skip to content

Commit

Permalink
docs(core): correct environment variable for NX_TASK_TARGET_PROJECT (n…
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder authored Apr 12, 2023
1 parent 0578116 commit f13ea45
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/generated/cli/affected.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Run tests for all the projects affected by the last commit on main:
Use the currently executing project name in your command.:

```shell
nx affected -t build --tag=$NX_TARGET_TASK_PROJECT:latest
nx affected -t build --tag=$NX_TASK_TARGET_PROJECT:latest
```

## Options
Expand Down
2 changes: 1 addition & 1 deletion docs/generated/packages/nx/documents/affected.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Run tests for all the projects affected by the last commit on main:
Use the currently executing project name in your command.:

```shell
nx affected -t build --tag=$NX_TARGET_TASK_PROJECT:latest
nx affected -t build --tag=$NX_TASK_TARGET_PROJECT:latest
```

## Options
Expand Down
2 changes: 1 addition & 1 deletion packages/nx/src/command-line/examples.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const examples: Record<string, Example[]> = {
'Run tests for all the projects affected by the last commit on main',
},
{
command: 'affected -t build --tag=$NX_TARGET_TASK_PROJECT:latest',
command: 'affected -t build --tag=$NX_TASK_TARGET_PROJECT:latest',
description: 'Use the currently executing project name in your command.',
},
],
Expand Down

0 comments on commit f13ea45

Please sign in to comment.