Skip to content
This repository was archived by the owner on Jul 9, 2024. It is now read-only.

Commit cbbf3e8

Browse files
authored
fix(nx-affected-matrix): get affected fails (#57)
1 parent de1e146 commit cbbf3e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/utils/src/lib/workspace.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export class Workspaces extends NxWorkspaces {
6363
generator: string
6464
): { generatorsFilePath: string; generatorsJson: any; normalizedGeneratorName: string } | void {
6565
let generatorsFilePath: string;
66+
if (!collectionName) return;
6667
if (collectionName.endsWith('.json')) {
6768
generatorsFilePath = this._require.resolve(collectionName, {
6869
paths: resolveRoots(),

0 commit comments

Comments
 (0)