Escape group names when creating rules
local tr = p.workspace.grouptree(wks)
tree.traverse(tr, {
onbranch = function(n)
- table.insert(groups, n.path)
+ table.insert(groups, p.esc(n.path))
end
})
local tr = p.workspace.grouptree(wks)
tree.traverse(tr, {
onbranch = function(n)
- local rule = n.path .. ":"
+ local rule = p.esc(n.path) .. ":"
local projectTargets = {}
local groupTargets = {}
for i, c in pairs(n.children)
