Apply suggestions from code review
This commit is contained in:
parent
ba2d11fcd8
commit
8ecfcd04b9
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user