mirror of
https://github.com/Hilbis/Hilbish
synced 2025-03-28 09:20:41 +00:00
style: dont redeclare function param, just assign
This commit is contained in:
parent
144e158473
commit
dd45766bae
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user