1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-05 19:31:04 +00:00

Fix luacheck complaining about line being too long

This commit is contained in:
TheEt1234 2025-08-15 12:47:37 +02:00
parent 84605917bb
commit 38adf92476

View file

@ -119,7 +119,12 @@ end
-- }]]
function dump(value, indent)
indent = indent or "\t"
assert(type(indent) == "string", "dump()'s second argument should be a string or nil, to dump multiple things use dump({a, b}).")
assert(
type(indent) == "string",
"dump()'s second argument should be a string or nil, to dump multiple things use dump({a, b})."
)
local newline = indent == "" and "" or "\n"
local rope = {}