From 2a88a73acea8cc7988e5114097213528f7c510f3 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Tue, 14 Mar 2023 18:33:39 +0100 Subject: [PATCH] style(cache): ignore a luacheck error --- lua/lazy/core/cache.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/lazy/core/cache.lua b/lua/lazy/core/cache.lua index d164f9a..a856db6 100644 --- a/lua/lazy/core/cache.lua +++ b/lua/lazy/core/cache.lua @@ -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