Skip to content

Commit

Permalink
link
Browse files Browse the repository at this point in the history
  • Loading branch information
kilianc committed May 15, 2024
1 parent c76a031 commit 02495cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
async function loadContent() {
const spinner = document.getElementById("spinner");
const hash = getHashFromQueryString();
const fileUrl = `${hash}.html`;
const fileUrl = `revisions/${hash}.html`;

spinner.style.display = "block";

Expand Down
2 changes: 1 addition & 1 deletion src/update-comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const updateCodeCoverageComment = module.exports = async ({ context, github, inp
const coverage = parseFloat(coverageTextSummary.replace('%', ''), 10)
const coverageEmoji = coverage >= threshold ? '' : `<kbd>🔻 ${(coverage - threshold).toFixed(1)}%</kbd> `
const pathText = (path !== '' ? ` for <kbd>${path}</kbd>` : '')
const url = `https://${context.repo.owner}.github.io/${context.repo.repo}/${path}revisions/?hash=${revision}`
const url = `https://${context.repo.owner}.github.io/${context.repo.repo}/${path}?hash=${revision}`

const commentBody = [
`<!-- coverage (${path})-->`,
Expand Down

0 comments on commit 02495cf

Please sign in to comment.