repl: fix tab-complete warning · nodejs/node@01398b2 · GitHub
Skip to content

Commit 01398b2

Browse files
killaguaddaleax
authored andcommitted
repl: fix tab-complete warning
When create a nest repl, will register `Runtime.executionContextCreated` listener to the inspector session.This patch will fix listener repeatedly register. PR-URL: #18881 Fixes: #18284 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent edba129 commit 01398b2

2 files changed

Lines changed: 23 additions & 2 deletions

File tree

lib/repl.js

Lines changed: 1 addition & 2 deletions
Lines changed: 22 additions & 0 deletions

0 commit comments

Comments
 (0)