refactor(#2942): style
This commit is contained in:
parent
df94463e76
commit
2c1bb3b65a
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user