Skip to content

Commit 58920c2

Browse files
committedNov 2, 2020
Add CSV generator
1 parent 7de876b commit 58920c2

File tree

5 files changed

+5135
-5105
lines changed

5 files changed

+5135
-5105
lines changed
 

‎checkDirectory.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const whitelist = [
1818
'createFiles.js',
1919
'createTokens.js',
2020
'dist',
21+
'generateCSV.js',
2122
'generateMasterFile.js',
2223
'generateMissingTokenListFromIcons.js',
2324
'node_modules',
@@ -32,11 +33,11 @@ const whitelist = [
3233
function checkDirectory() {
3334
const currentContent = fs.readdirSync('./');
3435
currentContent.forEach(file => {
35-
if(!whitelist.includes(file)) {
36+
if (!whitelist.includes(file)) {
3637
console.log(`Move ${file} to proper folder or delete it.`);
3738
process.exit(1);
3839
}
39-
})
40+
});
4041
}
4142

4243
module.exports = checkDirectory;

0 commit comments

Comments
 (0)