Skip to content

Commit b3c964e

Browse files
committed
Support subnamespaces
1 parent a46a0a9 commit b3c964e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

script/helpers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ function splitFullId(fullId) {
3333
let ns = '';
3434
const idParts = id.split(':');
3535
if (idParts.length > 1) {
36-
ns = idParts[0];
37-
id = idParts.slice(1).join(':');
36+
id = idParts.pop(idParts);
37+
ns = idParts.join(':');
3838
}
3939
return {ns: ns, id: id};
4040
}

0 commit comments

Comments
 (0)