Even more logging

This commit is contained in:
Maximilian Friedersdorff 2024-10-21 15:05:26 +01:00
parent 05e0d3333f
commit d05737b37a

View file

@ -71,6 +71,9 @@ function M.get_file_url(
if string.find(M.repo_url, "bitbucket") then if string.find(M.repo_url, "bitbucket") then
file_page_url = string.format(bb_remote_format, M.repo_url, rev, file_path) file_page_url = string.format(bb_remote_format, M.repo_url, rev, file_path)
elseif string.find(M.repo_url, "forgejo") or string.find(M.repo_url, "gitea") then elseif string.find(M.repo_url, "forgejo") or string.find(M.repo_url, "gitea") then
print(M.repo_url)
print(rev)
print(file_path)
file_page_url = string.format(forgejo_remote_format, M.repo_url, rev, file_path) file_page_url = string.format(forgejo_remote_format, M.repo_url, rev, file_path)
else else
file_page_url = string.format(remote_format, M.repo_url, rev, file_path) file_page_url = string.format(remote_format, M.repo_url, rev, file_path)