Mercurial > prosody-hg
comparison core/configmanager.lua @ 8555:4f0f5b49bb03
vairious: Add annotation when an empty environment is set [luacheck]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 28 Feb 2018 20:06:26 +0100 |
| parents | b4cbd65ee4c5 |
| children | a55574754e5f |
comparison
equal
deleted
inserted
replaced
| 8554:12a68e0d0ecf | 8555:4f0f5b49bb03 |
|---|---|
| 22 local encodings = deps.softreq"util.encodings"; | 22 local encodings = deps.softreq"util.encodings"; |
| 23 local nameprep = encodings and encodings.stringprep.nameprep or function (host) return host:lower(); end | 23 local nameprep = encodings and encodings.stringprep.nameprep or function (host) return host:lower(); end |
| 24 | 24 |
| 25 local _M = {}; | 25 local _M = {}; |
| 26 local _ENV = nil; | 26 local _ENV = nil; |
| 27 -- luacheck: std none | |
| 27 | 28 |
| 28 _M.resolve_relative_path = resolve_relative_path; -- COMPAT | 29 _M.resolve_relative_path = resolve_relative_path; -- COMPAT |
| 29 | 30 |
| 30 local parser = nil; | 31 local parser = nil; |
| 31 | 32 |
