Skip to content

Commit d048a5f

Browse files
fix
1 parent cdf0805 commit d048a5f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/McpResponse.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -946,8 +946,6 @@ Call ${handleDialog.name} to handle it before continuing.`);
946946
}
947947
const nodes = this.#heapSnapshotOptions.nodes;
948948
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.
951949
const sortedItems = nodes.items
952950
.filter(isNodeLike)
953951
.sort((a, b) => b.selfSize - a.selfSize);

0 commit comments

Comments
 (0)