Skip to content

Commit

Permalink
Update updateReadme.js
Browse files Browse the repository at this point in the history
  • Loading branch information
izzoa authored Mar 22, 2024
1 parent da2c56e commit 701ebe5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/updateReadme.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const testResultsPath = path.join(__dirname, '..', 'test-results.json');
const testResults = require(testResultsPath);

const updateReadmeForTestResults = (results) => {
const readmePath = path.join(__dirname, '..', 'README.md');
const readmePath = path.join(__dirname, '../', 'README.md');
let readmeContents = fs.readFileSync(readmePath, 'utf8');
const lines = readmeContents.split('\n');

Expand All @@ -25,4 +25,4 @@ const updateReadmeForTestResults = (results) => {
fs.writeFileSync(readmePath, readmeContents);
};

updateReadmeForTestResults(testResults);
updateReadmeForTestResults(testResults);

0 comments on commit 701ebe5

Please sign in to comment.