Skip to content

Commit 952fef7

Browse files
committed
bringing back sub paths
1 parent b615e79 commit 952fef7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nodes/publisher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export class Publisher {
5454
const slashIndex = key.indexOf("/")
5555
const bracketIndex = key.indexOf("[")
5656

57-
if (slashIndex === -1 || bracketIndex < slashIndex) {
57+
if (slashIndex === -1 || (bracketIndex !== -1 && bracketIndex < slashIndex)) {
5858
items.push({
5959
name: key,
6060
callback: () => {

0 commit comments

Comments
 (0)