diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-08-07 11:41:28 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-08-07 11:41:28 +0100 |
commit | 662145d0554de5e769b92dab2d41173a98adcee5 (patch) | |
tree | ec28311a0bce6181f248ba7b50304293ad764e44 /lualib/rspamadm/grep.lua | |
parent | bbd88232db43d18f5e0de5a6502848d4074621c5 (diff) | |
download | rspamd-662145d0554de5e769b92dab2d41173a98adcee5.tar.gz rspamd-662145d0554de5e769b92dab2d41173a98adcee5.zip |
[Minor] Reformat all Lua code, no functional changes
Diffstat (limited to 'lualib/rspamadm/grep.lua')
-rw-r--r-- | lualib/rspamadm/grep.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lualib/rspamadm/grep.lua b/lualib/rspamadm/grep.lua index 426b93c7a..6ed05691e 100644 --- a/lualib/rspamadm/grep.lua +++ b/lualib/rspamadm/grep.lua @@ -80,7 +80,7 @@ local function handler(args) if search_str and not sensitive then search_str = string.lower(search_str) end - local inputs = res['input'] or {'stdin'} + local inputs = res['input'] or { 'stdin' } for _, n in ipairs(inputs) do local h, err @@ -115,7 +115,7 @@ local function handler(args) if buffer[hash] then table.insert(buffer[hash], line) else - buffer[hash] = {line} + buffer[hash] = { line } end end end |