This repository was archived by the owner on Nov 9, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -230,9 +230,9 @@ AddcomponentGenerator = yeoman.generators.NamedBase.extend({
230
230
231
231
// compose
232
232
if ( this . ComponentType === 'standardModule' ) {
233
- file += '@import " app/' + string . slugify ( this . name ) + '/' + string . slugify ( this . name ) + '" ;\n' ;
233
+ file += '@import \' app/' + string . slugify ( this . name ) + '/' + string . slugify ( this . name ) + '\' ;\n' ;
234
234
} else {
235
- file += '@import " app/_deferred/' + string . slugify ( this . name ) + '/' + string . slugify ( this . name ) + '" ;\n' ;
235
+ file += '@import \' app/_deferred/' + string . slugify ( this . name ) + '/' + string . slugify ( this . name ) + '\' ;\n' ;
236
236
}
237
237
238
238
// write
Original file line number Diff line number Diff line change @@ -118,9 +118,9 @@ RemovecomponentGenerator = yeoman.generators.NamedBase.extend({
118
118
var file = this . fs . read ( path ) ;
119
119
120
120
if ( this . ComponentType === 'standardModule' ) {
121
- match = '@import \" app\/' + string . slugify ( this . name ) + '\/' + string . slugify ( this . name ) + '\" ;\n' ;
121
+ match = '@import \' app\/' + string . slugify ( this . name ) + '\/' + string . slugify ( this . name ) + '\' ;\n' ;
122
122
} else {
123
- match = '@import \" app\/_deferred\/' + string . slugify ( this . name ) + '\/' + string . slugify ( this . name ) + '\" ;\n' ;
123
+ match = '@import \' app\/_deferred\/' + string . slugify ( this . name ) + '\/' + string . slugify ( this . name ) + '\' ;\n' ;
124
124
}
125
125
126
126
var newfile = file . replace ( match , newcontent ) ;
You can’t perform that action at this time.
0 commit comments