Diff

plugins/mod_http_files.lua @ 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
parent 8757:861a7d6c12d8
child 9463:f7530c846f98
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;