From 38adf9247621458c4e0589b8115565c4cf951783 Mon Sep 17 00:00:00 2001 From: TheEt1234 Date: Fri, 15 Aug 2025 12:47:37 +0200 Subject: [PATCH] Fix luacheck complaining about line being too long --- builtin/common/misc_helpers.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/builtin/common/misc_helpers.lua b/builtin/common/misc_helpers.lua index 0394ee56fd..e28a10d940 100644 --- a/builtin/common/misc_helpers.lua +++ b/builtin/common/misc_helpers.lua @@ -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 = {}