Skip to content

Commit 266b616

Browse files
committed
fix(#1731): reload profile absolute path, not link to
1 parent 2ee6f6a commit 266b616

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lua/nvim-tree/explorer/reload.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function M.reload(node, status)
2626
return
2727
end
2828

29-
local ps = log.profile_start("reload %s", cwd)
29+
local ps = log.profile_start("reload %s", node.absolute_path)
3030

3131
if node.group_next then
3232
node.nodes = { node.group_next }
@@ -113,13 +113,13 @@ function M.reload(node, status)
113113
node.group_next = child_folder_only
114114
local ns = M.reload(child_folder_only, status)
115115
node.nodes = ns or {}
116-
log.profile_end(ps, "reload %s", cwd)
116+
log.profile_end(ps, "reload %s", node.absolute_path)
117117
return ns
118118
end
119119

120120
sorters.merge_sort(node.nodes, sorters.node_comparator)
121121
live_filter.apply_filter(node)
122-
log.profile_end(ps, "reload %s", cwd)
122+
log.profile_end(ps, "reload %s", node.absolute_path)
123123
return node.nodes
124124
end
125125

0 commit comments

Comments
 (0)