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 {
6161
6262 const effectsPath =
6363 `/${ options . sourceDir } /${ options . path } /` +
64- ( options . group ? 'effects/' : '' ) +
6564 ( options . flat ? '' : stringUtils . dasherize ( options . name ) + '/' ) +
65+ ( options . group ? 'effects/' : '' ) +
6666 stringUtils . dasherize ( options . name ) +
6767 '.effects' ;
6868 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 {
3838
3939 const reducerPath =
4040 `/${ options . sourceDir } /${ options . path } /` +
41- ( options . group ? 'reducers/' : '' ) +
4241 ( options . flat ? '' : stringUtils . dasherize ( options . name ) + '/' ) +
42+ ( options . group ? 'reducers/' : '' ) +
4343 stringUtils . dasherize ( options . name ) +
4444 '.reducer' ;
4545
@@ -217,8 +217,8 @@ export function addReducerImportToNgModule(options: ReducerOptions): Rule {
217217
218218 const reducerPath =
219219 `/${ options . sourceDir } /${ options . path } /` +
220- ( options . group ? 'reducers/' : '' ) +
221220 ( options . flat ? '' : stringUtils . dasherize ( options . name ) + '/' ) +
221+ ( options . group ? 'reducers/' : '' ) +
222222 stringUtils . dasherize ( options . name ) +
223223 '.reducer' ;
224224 const relativePath = buildRelativePath ( modulePath , reducerPath ) ;
You can’t perform that action at this time.
0 commit comments