fix(gitbrowse): removed debug

This commit is contained in:
Folke Lemaitre 2024-12-02 08:36:25 +01:00
parent 0a48c2e726
commit f8949523ed
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -88,7 +88,6 @@ function M.get_url(repo, fields, opts)
for remote, patterns in pairs(opts.url_patterns) do
if repo:find(remote) then
local pattern = patterns[opts.what]
dd(pattern)
if type(pattern) == "string" then
return repo .. pattern:gsub("(%b{})", function(key)
return fields[key:sub(2, -2)] or key