Skip to content

Commit f39790f

Browse files
committed
Adding newlines to end
And some other minor changes
1 parent 5fcd97e commit f39790f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/svg-icons/index-generator.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const fs = require('fs');
22
const rrs = require('recursive-readdir-sync');
33

4-
var outArray = [];
4+
const outArray = [];
55
outArray.push('module.exports = {\n');
66

77
rrs('./').forEach(function(file) {
@@ -33,6 +33,6 @@ rrs('./').forEach(function(file) {
3333
}
3434
});
3535

36-
outArray.push('\n};')
36+
outArray.push('\n};\n')
3737

38-
fs.writeFileSync('index.js', outArray.join(''));
38+
fs.writeFileSync('index.js', outArray.join(''));

src/svg-icons/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,4 +824,4 @@ module.exports = {
824824
ToggleStarHalf: require('./toggle/star-half'),
825825
ToggleStar: require('./toggle/star'),
826826

827-
};
827+
};

0 commit comments

Comments
 (0)