Skip to content

Commit

Permalink
fix(core): resolve default project correctly when running targets (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
leosvelperez committed Jul 5, 2022
1 parent 6a63138 commit e2ddb63
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packages/nx/src/command-line/run-one.ts
Expand Up @@ -31,11 +31,10 @@ export async function runOne(
const nxJson = readNxJson();
const projectGraph = await createProjectGraphAsync();

const opts = parseRunOneOptions(
cwd,
args,
readProjectsConfigurationFromProjectGraph(projectGraph)
);
const opts = parseRunOneOptions(cwd, args, {
...readProjectsConfigurationFromProjectGraph(projectGraph),
...nxJson,
});

const { nxArgs, overrides } = splitArgsIntoNxArgsAndOverrides(
{
Expand Down

1 comment on commit e2ddb63

@vercel
Copy link

@vercel vercel bot commented on e2ddb63 Jul 5, 2022

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-nrwl.vercel.app
nx.dev
nx-five.vercel.app
nx-dev-git-master-nrwl.vercel.app

Please sign in to comment.