Mercurial > prosody-hg
diff util/envload.lua @ 8416:bc9cb23b604a
util.envload: Ignore "undefined variable" warning for loadstring [luacheck with strict 5.2 or 5.3 checks]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 23 Nov 2017 20:51:38 +0100 |
| parents | 5dec27760ecd |
| children | d1aacc6a81ac |
line wrap: on
line diff
--- a/util/envload.lua Thu Nov 23 17:42:48 2017 +0100 +++ b/util/envload.lua Thu Nov 23 20:51:38 2017 +0100 @@ -4,7 +4,7 @@ -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- --- luacheck: ignore 113/setfenv +-- luacheck: ignore 113/setfenv 113/loadstring local load, loadstring, setfenv = load, loadstring, setfenv; local io_open = io.open;
