Skip to content

Commit

Permalink
fix(graph): fix open project with / in name (#21722)
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
  • Loading branch information
xiongemi and FrozenPandaz committed Feb 21, 2024
1 parent ce3f2c1 commit 5d6abe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nx/src/command-line/graph/graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ export async function generateGraph(
url.pathname = args.view;

if (args.focus) {
url.pathname += '/' + args.focus;
url.pathname += '/' + encodeURIComponent(args.focus);
}

if (target) {
Expand Down

0 comments on commit 5d6abe4

Please sign in to comment.