lint: ignore some type errors

This commit is contained in:
Steven Arcangeli 2024-05-13 20:02:11 -06:00
parent aa0c00c7fd
commit 3283deec96
4 changed files with 6 additions and 6 deletions

View file

@ -48,7 +48,7 @@ M.list = function(url, column_defs, cb)
local _, path = util.parse_url(url)
assert(path)
local trash_dir = get_trash_dir()
---@diagnostic disable-next-line: param-type-mismatch
---@diagnostic disable-next-line: param-type-mismatch, discard-returns
uv.fs_opendir(trash_dir, function(open_err, fd)
if open_err then
if open_err:match("^ENOENT: no such file or directory") then