mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
vairious: Add annotation when an empty environment is set [luacheck]
This commit is contained in:
parent
8e377a8d55
commit
43b814a83b
46 changed files with 46 additions and 0 deletions
|
@ -15,6 +15,7 @@ local os_difftime = os.difftime;
|
|||
local tonumber = tonumber;
|
||||
|
||||
local _ENV = nil;
|
||||
-- luacheck: std none
|
||||
|
||||
local function date(t)
|
||||
return os_date("!%Y-%m-%d", t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue