Fix debug statements

This commit is contained in:
Maximilian Friedersdorff 2024-10-21 14:56:30 +01:00
parent 151a84c1b3
commit ae5d38aa14

View file

@ -71,9 +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)
utils.notify(file_path, vim.log.levels.INFO)
utils.notify(M.repo_url, vim.log.levels.INFO)
utils.notify(rev, vim.log.levels.INFO)
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)