We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec6adb5 commit 3ba463fCopy full SHA for 3ba463f
modules/store-devtools/schematics/ng-add/index.ts
@@ -5,7 +5,6 @@ import {
5
Tree,
6
branchAndMerge,
7
chain,
8
- filter,
9
noop,
10
} from '@angular-devkit/schematics';
11
import { NodePackageInstallTask } from '@angular-devkit/schematics/tasks';
@@ -122,16 +121,7 @@ export default function(options: StoreDevtoolsOptions): Rule {
122
121
}
123
124
return chain([
125
- branchAndMerge(
126
- chain([
127
- filter(
128
- path =>
129
- path.endsWith('.module.ts') &&
130
- !path.endsWith('-routing.module.ts')
131
- ),
132
- addImportToNgModule(options),
133
- ])
134
+ branchAndMerge(chain([addImportToNgModule(options)])),
135
options && options.skipPackageJson
136
? noop()
137
: addNgRxStoreDevToolsToPackageJson(),
0 commit comments