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