When we auto-create intermediate parent nodes, make sure that those nodes
are marked as satisfied, so that it is possible to dispatch their actual
child nodes.
This aligns the behavior with the old Lua based dispatcher implementation.
Fixes: #6529
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
ec8cf9e83cd4e4afdf0a00910e057a890600e8a8)
}
node.children ??= {};
- node.children[s[0]] ??= {};
+ node.children[s[0]] ??= { satisfied: true };
node = node.children[s[0]];
}