Skip to content

Commit

Permalink
fix(nx-plugin): pass full context into parseTargetString (#19154)
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder authored Sep 21, 2023
1 parent 1aef24b commit 82fb209
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/plugin/src/executors/e2e/e2e.impl.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type { ExecutorContext } from '@nx/devkit';

import {
createProjectGraphAsync,
logger,
output,
parseTargetString,
Expand Down Expand Up @@ -44,10 +43,9 @@ async function* runBuildTarget(
buildTarget: string,
context: ExecutorContext
): AsyncGenerator<boolean> {
const graph = await createProjectGraphAsync();
const { project, target, configuration } = parseTargetString(
buildTarget,
graph
context
);
const buildTargetOptions = readTargetOptions(
{ project, target, configuration },
Expand Down

0 comments on commit 82fb209

Please sign in to comment.