pass static-check

This commit is contained in:
liuwei 2018-11-02 17:17:29 +08:00
parent c74e59fa4c
commit 3477df4c12
2 changed files with 1 additions and 2 deletions

View file

@ -47,7 +47,6 @@ local function set_cookie(self, value)
httponly = true, httponly = true,
} }
local expires
if self.cookie_expires and self.cookie_expires ~= "" then if self.cookie_expires and self.cookie_expires ~= "" then
cookie_data.expires = ngx.cookie_time(tonumber(self.cookie_expires)) cookie_data.expires = ngx.cookie_time(tonumber(self.cookie_expires))
end end