File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ function Explorer:reload(node, git_status)
85
85
local cwd = node .link_to or node .absolute_path
86
86
local handle = vim .loop .fs_scandir (cwd )
87
87
if not handle then
88
- return nil
88
+ return
89
89
end
90
90
91
91
local profile = log .profile_start (" reload %s" , node .absolute_path )
@@ -174,10 +174,10 @@ function Explorer:reload(node, git_status)
174
174
local single_child = node :single_child_directory ()
175
175
if config .renderer .group_empty and node .parent and single_child then
176
176
node .group_next = single_child
177
- local nodes = self :reload (single_child , git_status )
178
- node .nodes = nodes or {}
177
+ local ns = self :reload (single_child , git_status )
178
+ node .nodes = ns or {}
179
179
log .profile_end (profile )
180
- return nodes
180
+ return ns
181
181
end
182
182
183
183
self .sorters :sort (node .nodes )
You can’t perform that action at this time.
0 commit comments