Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit a6c867e

Browse files
author
Markus Falk
committed
[BUGFIX] switch to single quotes refs #166
1 parent 45196b6 commit a6c867e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

addcomponent/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,9 @@ AddcomponentGenerator = yeoman.generators.NamedBase.extend({
230230

231231
// compose
232232
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';
234234
} 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';
236236
}
237237

238238
// write

removecomponent/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ RemovecomponentGenerator = yeoman.generators.NamedBase.extend({
118118
var file = this.fs.read(path);
119119

120120
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';
122122
} 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';
124124
}
125125

126126
var newfile = file.replace(match, newcontent);

0 commit comments

Comments
 (0)