Skip to content

Commit

Permalink
Update utils.js
Browse files Browse the repository at this point in the history
  • Loading branch information
pierluigi authored Apr 22, 2020
1 parent 65ba90c commit d1c483a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions utils.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
const fs = require("fs"),
_ = require("lodash");

// Debug info
const currentFolder = './';
fs.readdirSync(currentFolder).forEach(file => {
console.log(file);
});

const groupBy = _.curryRight(_.groupBy);
const groupByCategory = groupBy((q) => q.category);
const qFile = "./questions.json";
Expand Down

0 comments on commit d1c483a

Please sign in to comment.