post merge tidy

This commit is contained in:
Alexander Courtis
2024-10-25 12:39:39 +11:00
parent a44544a66f
commit 4c9c8852c7
2 changed files with 1 additions and 3 deletions

View File

@@ -45,7 +45,6 @@ function M.fn(path)
return node.absolute_path == path_real or node.link_to == path_real
end)
:applier(function(node)
---@cast node DirectoryNode
local incremented_line = false
if not node.group_next then
line = line + 1

View File

@@ -74,8 +74,7 @@ end
---@param node DirectoryNode
local function expand_node(node)
if node:is(DirectoryNode) and not node.open then
---@cast node DirectoryNode
if not node.open then
-- Expand the node.
-- Should never collapse since we checked open.
node:expand_or_collapse(false)