Skip to content

Commit

Permalink
fix(core): suppress access errors during project file scan (nrwl#13031)
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder authored Nov 7, 2022
1 parent 67e032d commit f583689
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/nx/src/config/workspaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,7 @@ export function globForProjectFiles(
'node_modules',
'**/node_modules',
'dist',
'.git',
...globsToExclude,
];

Expand All @@ -714,6 +715,7 @@ export function globForProjectFiles(
absolute: false,
cwd: root,
dot: true,
suppressErrors: true,
});

projectGlobCache = deduplicateProjectFiles(globResults, ig);
Expand Down

0 comments on commit f583689

Please sign in to comment.