Closed anukul closed 1 year ago
The commit ref for which to fetch the coverage report is currently parsed from the URL using a regex.
This approach breaks for tags (or branches with / in name) because we can't tell where the ref ends.
/
Looks like the fix for this involves hacking the ref from the DOM
document.querySelector('[data-hotkey="w"]').ariaLabel.split(' ')[0]
The commit ref for which to fetch the coverage report is currently parsed from the URL using a regex.
This approach breaks for tags (or branches with
/
in name) because we can't tell where the ref ends.