2
2
peilaus alkaen https://github.com/Hilbis/Hilbish synced 2025-07-06 19:12:02 +00:00

style: dont redeclare function param, just assign

This commit is contained in:
TorchedSammy 2021-12-04 17:56:37 -04:00
vanhempi 144e158473
commit dd45766bae
Allekirjoittanut: sammyette
GPG avaimen ID: 904FC49417B44DCD

Näytä tiedosto

@ -79,7 +79,7 @@ end
ansikit.link = function(url, text)
if not url then error 'ansikit: missing url for hyperlink' end
local text = (text and text or 'link')
text = (text and text or 'link')
return lunacolors.blue('\27]8;;' .. url .. '\27\\' .. text .. '\27]8;;\27\\\n')
end