From 82fb209b40545b0b5f5cf312df0d0473ebdb674d Mon Sep 17 00:00:00 2001 From: Craigory Coppola Date: Thu, 21 Sep 2023 16:14:30 -0400 Subject: [PATCH] fix(nx-plugin): pass full context into parseTargetString (#19154) --- packages/plugin/src/executors/e2e/e2e.impl.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/plugin/src/executors/e2e/e2e.impl.ts b/packages/plugin/src/executors/e2e/e2e.impl.ts index 19de9a4bb72d9..4428e3b968ff8 100644 --- a/packages/plugin/src/executors/e2e/e2e.impl.ts +++ b/packages/plugin/src/executors/e2e/e2e.impl.ts @@ -1,7 +1,6 @@ import type { ExecutorContext } from '@nx/devkit'; import { - createProjectGraphAsync, logger, output, parseTargetString, @@ -44,10 +43,9 @@ async function* runBuildTarget( buildTarget: string, context: ExecutorContext ): AsyncGenerator { - const graph = await createProjectGraphAsync(); const { project, target, configuration } = parseTargetString( buildTarget, - graph + context ); const buildTargetOptions = readTargetOptions( { project, target, configuration },