mirror of https://github.com/folke/lazy.nvim.git
style(cache): ignore a luacheck error
This commit is contained in:
parent
810acc1e86
commit
2a88a73ace
|
@ -193,6 +193,7 @@ end
|
||||||
---@param env? table
|
---@param env? table
|
||||||
---@return function?, string? error_message
|
---@return function?, string? error_message
|
||||||
---@private
|
---@private
|
||||||
|
-- luacheck: ignore 312
|
||||||
function Cache.loadfile(filename, mode, env)
|
function Cache.loadfile(filename, mode, env)
|
||||||
local start = uv.hrtime()
|
local start = uv.hrtime()
|
||||||
filename = Cache.normalize(filename)
|
filename = Cache.normalize(filename)
|
||||||
|
@ -332,6 +333,7 @@ function M.find(modname, opts)
|
||||||
if modpath then
|
if modpath then
|
||||||
return modpath, hash
|
return modpath, hash
|
||||||
end
|
end
|
||||||
|
|
||||||
-- module not found
|
-- module not found
|
||||||
M.stats.find.not_found = M.stats.find.not_found + 1
|
M.stats.find.not_found = M.stats.find.not_found + 1
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue