lint: ignore some type errors
This commit is contained in:
parent
aa0c00c7fd
commit
3283deec96
4 changed files with 6 additions and 6 deletions
|
|
@ -343,7 +343,7 @@ M.list = function(url, column_defs, cb)
|
|||
local dir = fs.posix_to_os_path(path)
|
||||
local fetch_meta = columns.get_metadata_fetcher(M, column_defs)
|
||||
|
||||
---@diagnostic disable-next-line: param-type-mismatch
|
||||
---@diagnostic disable-next-line: param-type-mismatch, discard-returns
|
||||
uv.fs_opendir(dir, function(open_err, fd)
|
||||
if open_err then
|
||||
if open_err:match("^ENOENT: no such file or directory") then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue