Skip to content

Commit

Permalink
perf(Schematics): remove path filters in store 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 055f6ef commit 762cf2e
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions modules/schematics/src/store/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {
apply,
branchAndMerge,
chain,
filter,
mergeWith,
template,
url,
Expand Down Expand Up @@ -166,15 +165,7 @@ export default function(options: StoreOptions): 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 762cf2e

Please sign in to comment.