fix: harden tree root cwd fetch (#2557)
Co-authored-by: Alexander Courtis <alex@courtis.org>
This commit is contained in:
parent
5231562caf
commit
5e4475d8bf
@ -28,7 +28,7 @@ function M.get_explorer()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function M.get_cwd()
|
function M.get_cwd()
|
||||||
return TreeExplorer.absolute_path
|
return TreeExplorer and TreeExplorer.absolute_path
|
||||||
end
|
end
|
||||||
|
|
||||||
function M.get_nodes_starting_line()
|
function M.get_nodes_starting_line()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user