Skip to content

Commit d8f8096

Browse files
committed
doc: update example in repl.md
Delete unused method call. PR-URL: #12685 Refs: #6171 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 8092fb0 commit d8f8096

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

doc/api/repl.md

-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,6 @@ const replServer = repl.start({prompt: '> '});
335335
replServer.defineCommand('sayhello', {
336336
help: 'Say hello',
337337
action(name) {
338-
this.lineParser.reset();
339338
this.bufferedCommand = '';
340339
console.log(`Hello, ${name}!`);
341340
this.displayPrompt();

0 commit comments

Comments
 (0)