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 },