refactor(#2942): style

This commit is contained in:
Alexander Courtis 2025-09-08 16:24:58 +10:00
parent df94463e76
commit 2c1bb3b65a

View File

@ -578,7 +578,6 @@ end
---@return Node|nil
---@return number|nil
function Explorer:get_node_from_path(path)
if self.absolute_path == path then
return self
end
@ -604,7 +603,6 @@ end
---If node is nil do nothing.
---@param node Node? node to focus
function Explorer:focus_node_or_parent(node)
while node do
local found_node, i = self:find_node(function(node_)
return node_.absolute_path == node.absolute_path