Skip to content

Commit

Permalink
perf(Effects): remove path filters in ng-add
Browse files Browse the repository at this point in the history
  • Loading branch information
timdeschryver authored and brandonroberts committed Jun 29, 2018
1 parent 762cf2e commit 5318913
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions modules/effects/schematics/ng-add/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,7 @@ export default function(options: RootEffectOptions): 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)])
),
options && options.skipPackageJson
? noop()
Expand Down

0 comments on commit 5318913

Please sign in to comment.