We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b257b78 commit aa58dbdCopy full SHA for aa58dbd
1 file changed
lua/nvim-tree/actions/fs/remove-file.lua
@@ -50,7 +50,7 @@ end
50
---@return boolean|nil
51
local function remove_dir(cwd)
52
local handle = vim.loop.fs_scandir(cwd)
53
- if type(handle) == "string" or not handle then
+ if type(handle) == "string" then
54
notify.error(handle)
55
return
56
end
0 commit comments