We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c1ad26 commit f4f2219Copy full SHA for f4f2219
1 file changed
src/McpContext.ts
@@ -968,7 +968,9 @@ export class McpContext implements Context {
968
idToNode.set(extraNode.id, extraNode);
969
const attachTarget = (await findAncestorNode(handle)) || rootNodeWithId;
970
if (extraNode.backendNodeId !== undefined) {
971
- const descendantIds = await findDescendantNodes(extraNode.backendNodeId);
+ const descendantIds = await findDescendantNodes(
972
+ extraNode.backendNodeId,
973
+ );
974
const index = moveChildNodes(attachTarget, extraNode, descendantIds);
975
attachTarget.children.splice(index, 0, extraNode);
976
}
0 commit comments