Skip to content

Commit 1487cd9

Browse files
authored
fix(#3077): add diagnostic override TODO
1 parent 3886617 commit 1487cd9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lua/nvim-tree/actions/fs/remove-file.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ local function remove_dir(cwd)
7171

7272
-- Type must come from fs_stat and not fs_scandir_next to maintain sshfs compatibility
7373
local stat = vim.loop.fs_stat(new_cwd)
74+
-- TODO remove once 0.12 is the minimum neovim version
75+
-- path incorrectly specified as an integer, fixed upstream for neovim 0.12 https://github.com/neovim/neovim/pull/33872
7476
---@diagnostic disable-next-line: param-type-mismatch
7577
local lstat = vim.loop.fs_lstat(new_cwd)
7678

0 commit comments

Comments
 (0)