We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b615e79 commit 952fef7Copy full SHA for 952fef7
src/nodes/publisher.ts
@@ -54,7 +54,7 @@ export class Publisher {
54
const slashIndex = key.indexOf("/")
55
const bracketIndex = key.indexOf("[")
56
57
- if (slashIndex === -1 || bracketIndex < slashIndex) {
+ if (slashIndex === -1 || (bracketIndex !== -1 && bracketIndex < slashIndex)) {
58
items.push({
59
name: key,
60
callback: () => {
0 commit comments