Skip to content

Commit f0b257e

Browse files
alan-agius4angular-robot[bot]
authored andcommitted
fix(@schematics/angular): ignore hidden directories when running browserlist migration
Closes #24991
1 parent 162484b commit f0b257e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/schematics/angular/migrations/update-15/remove-browserslist-config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function* visit(directory: DirEntry): IterableIterator<Path> {
2828
}
2929

3030
for (const path of directory.subdirs) {
31-
if (path === 'node_modules') {
31+
if (path === 'node_modules' || path.charAt(0) === '.') {
3232
continue;
3333
}
3434

0 commit comments

Comments
 (0)