fix(schematics): ignore node_modules during affected
This commit is contained in:
parent
a1b8ef9c64
commit
e681a18c1e
@ -388,6 +388,11 @@ export function getProjectRoots(projectNames: string[]): string[] {
|
||||
}
|
||||
|
||||
export function allFilesInDir(dirName: string): string[] {
|
||||
// Ignore files in nested node_modules directories
|
||||
if (dirName.endsWith('node_modules')) {
|
||||
return [];
|
||||
}
|
||||
|
||||
let res = [];
|
||||
try {
|
||||
fs.readdirSync(dirName).forEach(c => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user