Skip to content

Commit

Permalink
Merge pull request #5 from BuildforSDG-Cohort1-Assessment/v1-release
Browse files Browse the repository at this point in the history
V1 release
  • Loading branch information
chalu authored Apr 10, 2020
2 parents 8055be6 + a5effef commit e033e6c
Show file tree
Hide file tree
Showing 5 changed files with 1,532 additions and 1,266 deletions.
Binary file modified dist/build/Release/node_expat.node
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const getStatsFor = (lang, task) => {
let stats = {};

if (lang === 'javascript' || lang === 'python' || ['ch-4', 'ch-5'].includes(task)) {
const json = fs.readFileSync(`./audits/${task}.json`, 'utf8');
const json = fs.readFileSync(`${process.cwd()}/audits/${task}.json`, 'utf8');
const payload = JSON.parse(json);

stats.totalTests = payload.numTotalTests;
Expand Down
Loading

0 comments on commit e033e6c

Please sign in to comment.