Skip to content

Commit

Permalink
Adding newlines to end
Browse files Browse the repository at this point in the history
And some other minor changes
  • Loading branch information
shaurya947 committed Oct 21, 2015
1 parent 5fcd97e commit f39790f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/svg-icons/index-generator.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const fs = require('fs');
const rrs = require('recursive-readdir-sync');

var outArray = [];
const outArray = [];
outArray.push('module.exports = {\n');

rrs('./').forEach(function(file) {
Expand Down Expand Up @@ -33,6 +33,6 @@ rrs('./').forEach(function(file) {
}
});

outArray.push('\n};')
outArray.push('\n};\n')

fs.writeFileSync('index.js', outArray.join(''));
fs.writeFileSync('index.js', outArray.join(''));
2 changes: 1 addition & 1 deletion src/svg-icons/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -824,4 +824,4 @@ module.exports = {
ToggleStarHalf: require('./toggle/star-half'),
ToggleStar: require('./toggle/star'),

};
};

0 comments on commit f39790f

Please sign in to comment.