commit c222cf2: [Minor] Pet luacheck

Vsevolod Stakhov vsevolod at rspamd.com
Fri Apr 7 20:56:04 UTC 2023


Author: Vsevolod Stakhov
Date: 2023-04-07 21:54:58 +0100
URL: https://github.com/rspamd/rspamd/commit/c222cf209d3c02279796fb794ec37c27d34320d9 (HEAD -> master)

[Minor] Pet luacheck

---
 lualib/rspamadm/dkim_keygen.lua | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lualib/rspamadm/dkim_keygen.lua b/lualib/rspamadm/dkim_keygen.lua
index 5fff5707f..0d0ebe5a6 100644
--- a/lualib/rspamadm/dkim_keygen.lua
+++ b/lualib/rspamadm/dkim_keygen.lua
@@ -87,7 +87,8 @@ end
 local function print_public_key_dns(opts, base64_pk)
   local key_type = opts.type == 'rsa' and 'rsa' or 'ed25519'
   if #base64_pk < 255 - 2 then
-    io.write(string.format('%s._domainkey IN TXT ( "v=DKIM1; k=%s;" \n\t"p=%s" ) ;\n', opts.selector, key_type, base64_pk))
+    io.write(string.format('%s._domainkey IN TXT ( "v=DKIM1; k=%s;" \n\t"p=%s" ) ;\n',
+        opts.selector, key_type, base64_pk))
   else
     -- Split it  by parts
     local parts = split_string(base64_pk)


More information about the Commits mailing list