Add some debugging

This commit is contained in:
Maximilian Friedersdorff 2024-10-21 14:55:05 +01:00
parent b7959e5c4c
commit 151a84c1b3

View file

@ -71,6 +71,9 @@ function M.get_file_url(
if string.find(M.repo_url, "bitbucket") then
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
utils.notify(file_path)
utils.notify(M.repo_url)
utils.notify(rev)
file_page_url = string.format(forgejo_remote_format, M.repo_url, rev, file_path)
else
file_page_url = string.format(remote_format, M.repo_url, rev, file_path)