Skip to content

Commit

Permalink
fix(core): cli option --graph should work with scoped package names (#…
Browse files Browse the repository at this point in the history
…17820)

(cherry picked from commit f2d7dcb)
  • Loading branch information
AgentEnder authored and FrozenPandaz committed Jun 28, 2023
1 parent 9151176 commit 55963d6
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 55963d6

Please sign in to comment.