Skip to content

Commit

Permalink
fix(core): do not capture --target when using nx run
Browse files Browse the repository at this point in the history
  • Loading branch information
vsavkin committed Jan 12, 2023
1 parent d98d246 commit 0e5531e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
6 changes: 0 additions & 6 deletions docs/generated/cli/exec.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,6 @@ Default: `false`

Rerun the tasks even when the results are available in the cache

### targets

Type: `string`

Tasks to run for affected projects

### verbose

Type: `boolean`
Expand Down
6 changes: 0 additions & 6 deletions docs/generated/packages/nx/documents/exec.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,6 @@ Default: `false`

Rerun the tasks even when the results are available in the cache

### targets

Type: `string`

Tasks to run for affected projects

### verbose

Type: `boolean`
Expand Down
2 changes: 1 addition & 1 deletion packages/nx/src/command-line/nx-commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ function withRunOneOptions(yargs: yargs.Argv) {
);

const res = withRunOptions(
withOutputStyleOption(withTargetAndConfigurationOption(yargs, false), [
withOutputStyleOption(withConfiguration(yargs), [
'dynamic',
'static',
'stream',
Expand Down

1 comment on commit 0e5531e

@vercel
Copy link

@vercel vercel bot commented on 0e5531e Jan 12, 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-five.vercel.app
nx.dev
nx-dev-nrwl.vercel.app
nx-dev-git-master-nrwl.vercel.app

Please sign in to comment.