We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20c4676 commit 7b69de5Copy full SHA for 7b69de5
1 file changed
src/McpResponse.ts
@@ -946,8 +946,6 @@ Call ${handleDialog.name} to handle it before continuing.`);
946
}
947
const nodes = this.#heapSnapshotOptions.nodes;
948
if (nodes) {
949
- // Sort nodes by retained size in descending order.
950
- // We filter for nodes (ignoring edges if any) to satisfy TypeScript and ensure safe sorting.
951
const sortedItems = nodes.items
952
.filter(isNodeLike)
953
.sort((a, b) => b.selfSize - a.selfSize);
0 commit comments