commit 8bb5f8cb9cf63f29a072d2e7acb8f2fa85f4fe55 parent 57d713dd021af5d039683284b365faeab8b09d76 Author: tms <nemi@skaut.cz> Date: Thu, 3 Jun 2021 08:50:14 +0200 bugfix with empty result Diffstat:
M | track_run_status.lua | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/track_run_status.lua b/track_run_status.lua @@ -30,4 +30,6 @@ for _, f in pairs(files) do end end -print("[" .. table.concat(result, ',') .. "]") +if #result > 0 then + print("[" .. table.concat(result, ',') .. "]") +end