Apply suggestions from code review

This commit is contained in:
Alexander Courtis 2025-08-11 13:44:47 +10:00 committed by GitHub
parent ba2d11fcd8
commit 8ecfcd04b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,10 +40,10 @@ local function limit_folder_discovery(should_descend)
end end
end end
---@param expansion_count integer ---@param _ integer expansion_count
---@param node Node ---@param node Node
---@return boolean ---@return boolean
local function descend_until_empty(expansion_count, node) --luacheck: ignore 212 local function descend_until_empty(_, node)
local dir = node:as(DirectoryNode) local dir = node:as(DirectoryNode)
if not dir then if not dir then