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)
8585 local cwd = node .link_to or node .absolute_path
8686 local handle = vim .loop .fs_scandir (cwd )
8787 if not handle then
88- return nil
88+ return
8989 end
9090
9191 local profile = log .profile_start (" reload %s" , node .absolute_path )
@@ -174,10 +174,10 @@ function Explorer:reload(node, git_status)
174174 local single_child = node :single_child_directory ()
175175 if config .renderer .group_empty and node .parent and single_child then
176176 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 {}
179179 log .profile_end (profile )
180- return nodes
180+ return ns
181181 end
182182
183183 self .sorters :sort (node .nodes )
You can’t perform that action at this time.
0 commit comments