File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -61,8 +61,8 @@ function addImportToNgModule(options: EffectOptions): Rule {
61
61
62
62
const effectsPath =
63
63
`/${ options . sourceDir } /${ options . path } /` +
64
- ( options . group ? 'effects/' : '' ) +
65
64
( options . flat ? '' : stringUtils . dasherize ( options . name ) + '/' ) +
65
+ ( options . group ? 'effects/' : '' ) +
66
66
stringUtils . dasherize ( options . name ) +
67
67
'.effects' ;
68
68
const relativePath = buildRelativePath ( modulePath , effectsPath ) ;
Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ export function addReducerToState(options: ReducerOptions): Rule {
38
38
39
39
const reducerPath =
40
40
`/${ options . sourceDir } /${ options . path } /` +
41
- ( options . group ? 'reducers/' : '' ) +
42
41
( options . flat ? '' : stringUtils . dasherize ( options . name ) + '/' ) +
42
+ ( options . group ? 'reducers/' : '' ) +
43
43
stringUtils . dasherize ( options . name ) +
44
44
'.reducer' ;
45
45
@@ -217,8 +217,8 @@ export function addReducerImportToNgModule(options: ReducerOptions): Rule {
217
217
218
218
const reducerPath =
219
219
`/${ options . sourceDir } /${ options . path } /` +
220
- ( options . group ? 'reducers/' : '' ) +
221
220
( options . flat ? '' : stringUtils . dasherize ( options . name ) + '/' ) +
221
+ ( options . group ? 'reducers/' : '' ) +
222
222
stringUtils . dasherize ( options . name ) +
223
223
'.reducer' ;
224
224
const relativePath = buildRelativePath ( modulePath , reducerPath ) ;
You can’t perform that action at this time.
0 commit comments