Closed evan-goode closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 81.70%. Comparing base (
91624ad
) to head (4aab213
). Report is 7 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Describe the PR
In some situations, such as when using the go-swag Nix package,
runtime.GOROOT()
will be empty, andRangeFiles
will skip all source paths since technically, all paths are prefixed with the empty string.See also https://github.com/NixOS/nixpkgs/issues/224701
May resolve some cases of https://github.com/swaggo/swag/issues/1622.
Relation issue https://github.com/NixOS/nixpkgs/issues/224701 https://github.com/swaggo/swag/issues/1622
Additional context