From 1f97e90066c5bf87e2bfc0bb29e386524b129db9 Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Tue, 24 Mar 2020 16:26:48 +1100 Subject: [PATCH] made the shell actually able to print tables containing functions --- lib/shell.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/shell.lua b/lib/shell.lua index 7f4033d..696cc26 100644 --- a/lib/shell.lua +++ b/lib/shell.lua @@ -12,7 +12,7 @@ end local function formatValue(v) if type(v) == "table" then - local w, rs = pcall(serial.serialize,v) + local w, rs = pcall(serial.serialize,v,true) if w then return rs end end return tostring(v)