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 | 5239b02c93cd83d4254a9577deae7ab76e27395a (patch) | |
tree | f0443452ca0a7036fe48c6da314b7637ef0f1497 /plugins | |
parent | 4091a356580dfa0ee514dedcad3b195f0e24d026 (diff) | |
download | prosody-5239b02c93cd83d4254a9577deae7ab76e27395a.tar.gz prosody-5239b02c93cd83d4254a9577deae7ab76e27395a.zip |
mod_http_files: Silence luacheck warnings related to config variables
Diffstat (limited to 'plugins')
-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; |