From c763285a39b380980c2b06f738a6f917f5707ff1 Mon Sep 17 00:00:00 2001 From: AgentEnder Date: Tue, 27 Jun 2023 10:49:24 -0400 Subject: [PATCH] fix(core): cli option --graph should work with scoped package names --- packages/nx/src/command-line/graph/graph.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/nx/src/command-line/graph/graph.ts b/packages/nx/src/command-line/graph/graph.ts index 183ffa8d5d5c2..4c0760b8ebacb 100644 --- a/packages/nx/src/command-line/graph/graph.ts +++ b/packages/nx/src/command-line/graph/graph.ts @@ -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';