diff --git a/userspace/digwatch/lua/compiler.lua b/userspace/digwatch/lua/compiler.lua index 81d0065f..2a587f7a 100644 --- a/userspace/digwatch/lua/compiler.lua +++ b/userspace/digwatch/lua/compiler.lua @@ -168,6 +168,9 @@ local function outputformat (format) end local function rule(filter, output) + if not output then + output = outputformat("") + end return {type = "Rule", filter = filter, output = output} end