style(cache): ignore a luacheck error

This commit is contained in:
Folke Lemaitre 2023-03-14 18:33:39 +01:00
parent 810acc1e86
commit 2a88a73ace
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 2 additions and 0 deletions

View File

@ -193,6 +193,7 @@ end
---@param env? table
---@return function?, string? error_message
---@private
-- luacheck: ignore 312
function Cache.loadfile(filename, mode, env)
local start = uv.hrtime()
filename = Cache.normalize(filename)
@ -332,6 +333,7 @@ function M.find(modname, opts)
if modpath then
return modpath, hash
end
-- module not found
M.stats.find.not_found = M.stats.find.not_found + 1
end