fix: type fixes

Type fixes caught by emmylua
This commit is contained in:
Lewis Russell
2025-06-05 11:31:51 +01:00
committed by Lewis Russell
parent 4c333fdbb7
commit 3b6084ddf4
51 changed files with 421 additions and 355 deletions

View File

@ -66,7 +66,7 @@ local indexed = {}
--- @return uv.fs_stat.result?
local function fs_stat_cached(path)
if not fs_stat_cache then
return uv.fs_stat(path)
return (uv.fs_stat(path))
end
if not fs_stat_cache[path] then