Skip to content

Commit

Permalink
perf(Schematics): remove path filters in effects schematics
Browse files Browse the repository at this point in the history
  • Loading branch information
timdeschryver authored and brandonroberts committed Jun 29, 2018
1 parent 667b5b3 commit 6d3f5a1
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions modules/schematics/src/effect/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,7 @@ export default function(options: EffectOptions): Rule {

return chain([
branchAndMerge(
chain([
filter(
path =>
path.endsWith('.module.ts') &&
!path.endsWith('-routing.module.ts')
),
addImportToNgModule(options),
mergeWith(templateSource),
])
chain([addImportToNgModule(options), mergeWith(templateSource)])
),
])(host, context);
};
Expand Down

0 comments on commit 6d3f5a1

Please sign in to comment.