Skip to content

Commit

Permalink
fixup! fs: introduce readJSON functions
Browse files Browse the repository at this point in the history
  • Loading branch information
targos committed Mar 27, 2021
1 parent c1bf662 commit c6f6c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/doctool/test-doctool-versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ debuglog(cp.stdout);
assert.strictEqual(cp.stdout, '');
assert.strictEqual(cp.signal, null);
assert.strictEqual(cp.status, 0);
const versions = fs.readJSONSync(versionsFile);
const versions = JSON.parse(fs.readFileSync(versionsFile));
debuglog(versions);

// Coherence checks for each returned version.
Expand Down

0 comments on commit c6f6c8b

Please sign in to comment.