diff options
author | Kim Alvefur <zash@zash.se> | 2018-10-10 21:53:26 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-10-10 21:53:26 +0200 |
commit | d859c3c84fe540e4985f4545f1f198b34c9a3e26 (patch) | |
tree | f0443452ca0a7036fe48c6da314b7637ef0f1497 | |
parent | 98086f264ca13f35699a5d78bb5a683933ecf3e0 (diff) | |
download | prosody-d859c3c84fe540e4985f4545f1f198b34c9a3e26.tar.gz prosody-d859c3c84fe540e4985f4545f1f198b34c9a3e26.zip |
mod_http_files: Silence luacheck warnings related to config variables
-rw-r--r-- | plugins/mod_http_files.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_http_files.lua b/plugins/mod_http_files.lua index c5986e37..6206d584 100644 --- a/plugins/mod_http_files.lua +++ b/plugins/mod_http_files.lua @@ -89,6 +89,7 @@ function serve(opts) if type(opts) ~= "table" then -- assume path string opts = { path = opts }; end + -- luacheck: ignore 431 local base_path = opts.path; local dir_indices = opts.index_files or dir_indices; local directory_index = opts.directory_index; |