From 35efbc8a8d4c01dc381b03c6bc3b957702ad8a43 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 10 Oct 2018 21:53:26 +0200 Subject: mod_http_files: Silence luacheck warnings related to config variables --- plugins/mod_http_files.lua | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3