Skip to content

Commit

Permalink
v1.1.1: Fix Travis error
Browse files Browse the repository at this point in the history
  • Loading branch information
joeymalvinni committed Mar 8, 2021
1 parent 5469de2 commit e3702a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ let wordsFolder;
wordsFolder = fs.readdirSync(__dirname + '/data')

for(let i = 0; i < wordsFolder.length; i++){
words[wordsFolder[i].slice(0, -5).split('_').join(' ')] = JSON.parse(fs.readFileSync(__dirname + '\\data\\' + wordsFolder[i]).toString());
words[wordsFolder[i].slice(0, -5).split('_').join(' ')] = JSON.parse(fs.readFileSync(__dirname + '/data/' + wordsFolder[i]).toString());
wordCategories.push(wordsFolder[i].slice(0, -5).split('_').join(' '));
};

Expand Down

0 comments on commit e3702a2

Please sign in to comment.