From c48467408d6f520b3dda86e34c8f4688acdd52b7 Mon Sep 17 00:00:00 2001 From: Kirill Fomichev Date: Thu, 26 Sep 2019 09:02:45 +0300 Subject: [PATCH] doc: fix output in inspector HeapProfile example PR-URL: https://github.com/nodejs/node/pull/29711 Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Ruben Bridgewater --- doc/api/inspector.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/inspector.md b/doc/api/inspector.md index c469ed9c5dbc45..3d9a956f095ede 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); });