Skip to content
This repository was archived by the owner on Apr 24, 2019. It is now read-only.

Commit 17ef7c2

Browse files
author
Kahlil Lechelt
committed
Fix trailing comma problem in generated bower.json.
1 parent 8f4d47b commit 17ef7c2

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

app/templates/_bower.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,8 @@
77
"jquery": "1.10.2",
88
"normalize-scss": "~2.1.2",
99
"modernizr": "~2.7.1",
10-
"requirejs": "~2.1.9",
11-
<% if (cssPreprocessor === 'Sass') { %>
12-
"sass-mixins": "~0.6.0"
13-
<% } %>
14-
<% if (cssPreprocessor === 'Less') { %>
15-
"lesshat": "~2.0.0"
16-
<% } %>
10+
"requirejs": "~2.1.9"<% if (cssPreprocessor === 'Sass') { %>,
11+
"sass-mixins": "~0.6.0"<% } else if (cssPreprocessor === 'Less') { %>,
12+
"lesshat": "~2.0.0"<% } %>
1713
}
1814
}

0 commit comments

Comments
 (0)