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 <[email protected]>
  • Loading branch information
2 people authored and jaysoo committed Feb 23, 2024
1 parent e974832 commit 3cde493
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 3cde493

Please sign in to comment.