Skip to content

Commit

Permalink
fix: filesystem path
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosdevpereira committed Sep 27, 2022
1 parent 7d4b39f commit 45e5269
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 @@ -123,7 +123,7 @@ const COVERAGE_OUTPUT_FOLDER = './coverage';
const shortBaseSha = pullRequest.base.sha.slice(0, 7)

// Read current head results from disk
const headResult = JSON.parse(fs.readFileSync(`${UPLOAD_URL}/coverage-summary.json`, 'utf8'))
const headResult = JSON.parse(fs.readFileSync(`${COVERAGE_OUTPUT_FOLDER}/coverage-summary.json`, 'utf8'))
const headTotals = headResult.data.total
const headPercentages = [
headTotals.lines.pct,
Expand Down

0 comments on commit 45e5269

Please sign in to comment.