Explorar el Código

[Minor] Fix rule

tags/3.2
Vsevolod Stakhov hace 2 años
padre
commit
c23d728d75
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      rules/regexp/headers.lua

+ 1
- 1
rules/regexp/headers.lua Ver fichero

@@ -649,7 +649,7 @@ reconf['MISSING_MIMEOLE'] = {
-- Empty delimiters between header names and header values
local function gen_check_header_delimiter_empty(header_name)
return function(task)
for _,rh in ipairs(task:get_header_full(header_name)) do
for _,rh in ipairs(task:get_header_full(header_name) or {}) do
if rh['empty_separator'] then return true end
end
return false

Cargando…
Cancelar
Guardar