Skip to content

Commit 94bf416

Browse files
committed
fix(): ignore inner node_modules
1 parent 85c0393 commit 94bf416

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/cli/src/angular/migrations/standalone/0002-generate-use-icons.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ export const generateUseIcons = async (
2323
const sourceIonIcons = iconsData.icons.map((icon) => icon.name);
2424

2525
for (const sourceFile of project.getSourceFiles()) {
26+
if (sourceFile.getFilePath().includes('node_modules')) {
27+
continue;
28+
}
29+
2630
if (sourceFile.getFilePath().endsWith(".html")) {
2731
const htmlAsString = sourceFile.getFullText();
2832

0 commit comments

Comments
 (0)