fix: linking to wrong declaration URLs
1 file changed, 3 insertions(+), 0 deletions(-)
jump to
M internal/importer/ingest.go → internal/importer/ingest.go
@@ -57,6 +57,9 @@ return "very strange" } func makeGitHubFileURL(userRepo string, ref string, subPath string) string { + if ref == "" { + ref = "master" + } url, _ := url.JoinPath("https://github.com/", userRepo, "blob", ref, subPath) return url