Skip to content
Permalink
Browse files

doc: update example in repl.md

Delete unused method call.

PR-URL: #12685
Refs: #6171
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information...
vsemozhetbyt committed Apr 27, 2017
1 parent 8092fb0 commit d8f8096ec6e6b9516cd5ca3f046669194ec0984c
Showing with 0 additions and 1 deletion.
  1. +0 −1 doc/api/repl.md
@@ -335,7 +335,6 @@ const replServer = repl.start({prompt: '> '});
replServer.defineCommand('sayhello', {
help: 'Say hello',
action(name) {
this.lineParser.reset();
this.bufferedCommand = '';
console.log(`Hello, ${name}!`);
this.displayPrompt();

0 comments on commit d8f8096

Please sign in to comment.
You can’t perform that action at this time.