Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
chore: Fixes an issue where tags were not defined for affected e2e.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomheller committed Jul 7, 2020
1 parent 5fa82b0 commit 96bf16b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/workspace/src/builders/affected-e2e/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function affectedE2EBuilder(
const nxJson = readNxJson();
// Figure out which of the affected projects are actually components.
const affectedComponents = projects.filter((component) => {
return (nxJson.projects[component].tags || []).includes(
return (nxJson.projects[component]?.tags || []).includes(
'scope:components',
);
});
Expand Down

0 comments on commit 96bf16b

Please sign in to comment.