Skip to content

Commit

Permalink
fix(core): cli option --graph should work with scoped package names (n…
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder authored Jun 27, 2023
1 parent 376d656 commit f2d7dcb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/nx/src/command-line/graph/graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,9 +400,7 @@ export async function generateGraph(
} else if (args.projects) {
url.searchParams.append(
'projects',
args.projects
.map((projectName) => encodeURIComponent(projectName))
.join(' ')
args.projects.map((projectName) => projectName).join(' ')
);
} else if (args.affected) {
url.pathname += '/affected';
Expand Down

0 comments on commit f2d7dcb

Please sign in to comment.