File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/angular-cli/blueprints/component Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -124,8 +124,8 @@ module.exports = {
124
124
const returns = [ ] ;
125
125
const className = stringUtils . classify ( `${ options . entity . name } Component` ) ;
126
126
const fileName = stringUtils . dasherize ( `${ options . entity . name } .component` ) ;
127
- const componentDir = path . relative ( path . dirname ( this . pathToModule ) , this . generatePath ) ;
128
- const importPath = componentDir ? `./${ componentDir } /${ fileName } ` : `./${ fileName } ` . toLowerCase ( ) ;
127
+ const componentDir = path . relative ( path . dirname ( this . pathToModule ) , this . generatePath ) . toLowerCase ( ) ;
128
+ const importPath = componentDir ? `./${ componentDir } /${ fileName } ` : `./${ fileName } ` ;
129
129
130
130
if ( ! options [ 'skip-import' ] ) {
131
131
returns . push (
You can’t perform that action at this time.
0 commit comments