Skip to content

Commit da40050

Browse files
committed
repl: fix deprecation code
This slipped through while landing. PR-URL: #15668 Refs: #15136 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
1 parent 564d7ef commit da40050

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/repl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ REPLServer.prototype.setPrompt = function setPrompt(prompt) {
694694
REPLServer.prototype.turnOffEditorMode = util.deprecate(
695695
function() { _turnOffEditorMode(this); },
696696
'REPLServer.turnOffEditorMode() is deprecated',
697-
'DEP00XX');
697+
'DEP0078');
698698

699699
// A stream to push an array into a REPL
700700
// used in REPLServer.complete

0 commit comments

Comments
 (0)