Skip to content

Commit

Permalink
fix(core): default project is not set correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
vsavkin committed May 17, 2022
1 parent 34e74b4 commit 7f5137d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nx/src/command-line/run-one.ts
Expand Up @@ -100,8 +100,8 @@ function parseRunOneOptions(
);
// this is to account for "nx npmsript:dev"
if (project && !target && defaultProjectName) {
project = defaultProjectName;
target = project;
project = defaultProjectName;
}
} else {
target = parsedArgs['project:target:configuration'];
Expand Down

1 comment on commit 7f5137d

@vercel
Copy link

@vercel vercel bot commented on 7f5137d May 17, 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-five.vercel.app
nx-dev-nrwl.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx.dev

Please sign in to comment.