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

@@ -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)