Rename descend_until option to expand_until

This commit is contained in:
ghostbuster91 2025-08-10 17:16:51 +02:00
parent 669a79f961
commit 8425ef03ce
No known key found for this signature in database

View File

@ -122,7 +122,7 @@ local function expand_node(node, expand_opts)
if not node then
return
end
local descend_until = (expand_opts and expand_opts.descend_until) or descend_until_max_or_empty
local descend_until = (expand_opts and expand_opts.expand_until) or descend_until_max_or_empty
if gen_iterator(descend_until)(node) then
notify.warn("expansion iteration was halted after " .. M.MAX_FOLDER_DISCOVERY .. " discovered folders")
end