Skip to content

Commit

Permalink
fix the wrong link
Browse files Browse the repository at this point in the history
  • Loading branch information
islyn committed Feb 2, 2024
1 parent 1fd3bf9 commit 5f77089
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dest/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15336,7 +15336,7 @@ class DiffChecker {
case 'jest':
return `[${name}](${this.prefixFilenameUrl}/${this.prNumber}/lcov-report/${name === 'total' ? 'index' : name.substring(1)}.html)`;
case 'cobertura':
return `[${name}](${this.prefixFilenameUrl}/${this.prNumber}/${name === 'total' ? 'index' : name.replace(/\./g, '/') + '.scala'}.html)`;
return `[${name}](${this.prefixFilenameUrl}/${this.prNumber}/current/${name === 'total' ? 'index' : name.replace(/\./g, '/') + '.scala'}.html)`;
default:
return name;
}
Expand Down
2 changes: 1 addition & 1 deletion src/DiffChecker.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export class DiffChecker {
case 'jest':
return `[${name}](${this.prefixFilenameUrl}/${this.prNumber}/lcov-report/${name === 'total' ? 'index' : name.substring(1)}.html)`;
case 'cobertura':
return `[${name}](${this.prefixFilenameUrl}/${this.prNumber}/${name === 'total' ? 'index' : name.replace(/\./g, '/') + '.scala'}.html)`;
return `[${name}](${this.prefixFilenameUrl}/${this.prNumber}/current/${name === 'total' ? 'index' : name.replace(/\./g, '/') + '.scala'}.html)`;
default:
return name;
}
Expand Down

0 comments on commit 5f77089

Please sign in to comment.