Software /
code /
prosody
Changeset
9462:6489d75ff1d6
mod_http_files: Silence luacheck warnings related to config variables
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 10 Oct 2018 21:53:26 +0200 |
parents | 9461:cc19b8f8e692 |
children | 9463:f7530c846f98 |
files | plugins/mod_http_files.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_http_files.lua Wed Oct 10 21:53:15 2018 +0200 +++ b/plugins/mod_http_files.lua Wed Oct 10 21:53:26 2018 +0200 @@ -89,6 +89,7 @@ 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;