We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1890732 commit 7cd68afCopy full SHA for 7cd68af
packages/vscode-js-profile-core/src/heap/editorProvider.ts
@@ -40,9 +40,7 @@ export class HeapProfileEditorProvider
40
const node = nodes.pop();
41
if (node) {
42
treeNodes.push(node);
43
- if (node.children) {
44
- nodes = nodes.concat(Object.values(node.children));
45
- }
+ nodes = nodes.concat(Object.values(node.children));
46
}
47
48
packages/vscode-js-profile-core/src/heap/model.ts
@@ -67,9 +67,7 @@ export const buildModel = (profile: IHeapProfileRaw): IProfileModel => {
67
sourceReference: 0,
68
},
69
};
70
71
- nodes = nodes.concat(node.children);
72
+ nodes = nodes.concat(node.children);
73
74
75
0 commit comments