From 092875aaecc5722274755bbcf4a35a77a86a538f Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 23 Oct 2021 13:32:01 +0200 Subject: mod_http_file_share: Silence luacheck warning --- plugins/mod_http_file_share.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_http_file_share.lua b/plugins/mod_http_file_share.lua index f57257bb..7b05c85a 100644 --- a/plugins/mod_http_file_share.lua +++ b/plugins/mod_http_file_share.lua @@ -289,7 +289,7 @@ function handle_upload(event, path) -- PUT /upload/:slot module:log("error", "Could not open file for writing: %s", err); return 500; end - function event.response:on_destroy() + function event.response:on_destroy() -- luacheck: ignore 212/self -- Clean up incomplete upload if io.type(fh) == "file" then -- still open fh:close(); -- cgit v1.2.3