Skip to content

Commit

Permalink
doc: fix output in inspector HeapProfile example
Browse files Browse the repository at this point in the history
PR-URL: #29711
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
fanatid authored and targos committed Oct 1, 2019
1 parent d86f10c commit 038cbb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/inspector.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ session.on('HeapProfiler.addHeapSnapshotChunk', (m) => {
});

session.post('HeapProfiler.takeHeapSnapshot', null, (err, r) => {
console.log('Runtime.takeHeapSnapshot done:', err, r);
console.log('HeapProfiler.takeHeapSnapshot done:', err, r);
session.disconnect();
fs.closeSync(fd);
});
Expand Down

0 comments on commit 038cbb0

Please sign in to comment.