diff options
author | Kirill Fomichev <fanatid@ya.ru> | 2019-09-26 09:02:45 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-09-27 15:39:29 -0700 |
commit | c48467408d6f520b3dda86e34c8f4688acdd52b7 (patch) | |
tree | baff725a45fa3b72967729e2cb6f3f51d0c8ea99 | |
parent | 5e1440c76b6181b5c271acaaeb20183ad5885562 (diff) | |
download | android-node-v8-c48467408d6f520b3dda86e34c8f4688acdd52b7.tar.gz android-node-v8-c48467408d6f520b3dda86e34c8f4688acdd52b7.tar.bz2 android-node-v8-c48467408d6f520b3dda86e34c8f4688acdd52b7.zip |
doc: fix output in inspector HeapProfile example
PR-URL: https://github.com/nodejs/node/pull/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>
-rw-r--r-- | doc/api/inspector.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/inspector.md b/doc/api/inspector.md index c469ed9c5d..3d9a956f09 100644 --- a/doc/api/inspector.md +++ b/doc/api/inspector.md @@ -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); }); |