Skip to content

Commit 6d3f5a1

Browse files
timdeschryverbrandonroberts
authored andcommitted
perf(Schematics): remove path filters in effects schematics
1 parent 667b5b3 commit 6d3f5a1

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

modules/schematics/src/effect/index.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,7 @@ export default function(options: EffectOptions): Rule {
121121

122122
return chain([
123123
branchAndMerge(
124-
chain([
125-
filter(
126-
path =>
127-
path.endsWith('.module.ts') &&
128-
!path.endsWith('-routing.module.ts')
129-
),
130-
addImportToNgModule(options),
131-
mergeWith(templateSource),
132-
])
124+
chain([addImportToNgModule(options), mergeWith(templateSource)])
133125
),
134126
])(host, context);
135127
};

0 commit comments

Comments
 (0)