From 2493c70241e0bf2a9828e8910f7b2e3bfd4ebb4c Mon Sep 17 00:00:00 2001 From: Lucien Greathouse Date: Fri, 15 Nov 2019 15:43:42 -0800 Subject: [PATCH] Fix log special case for empty tables --- plugin/fmt/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fmt/init.lua b/plugin/fmt/init.lua index 0fd30fd6..7e2db533 100644 --- a/plugin/fmt/init.lua +++ b/plugin/fmt/init.lua @@ -42,7 +42,7 @@ end ]] local function defaultTableDebugExtended(buffer, input) -- Special case for empty tables. - if next(buffer) == nil then + if next(input) == nil then buffer:writeRaw("{}") return end