Skip to content

Commit aa58dbd

Browse files
committed
Revert "refactor(#2731): resolve warnings"
This reverts commit f534fbc.
1 parent b257b78 commit aa58dbd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ end
5050
---@return boolean|nil
5151
local function remove_dir(cwd)
5252
local handle = vim.loop.fs_scandir(cwd)
53-
if type(handle) == "string" or not handle then
53+
if type(handle) == "string" then
5454
notify.error(handle)
5555
return
5656
end

0 commit comments

Comments
 (0)