From 76f2ea2963024586c3d82f2a6541c88cb20db239 Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Thu, 28 Sep 2017 18:35:05 -0300 Subject: [PATCH] repl: fix deprecation code This slipped through while landing. PR-URL: https://github.com/nodejs/node/pull/15668 Refs: https://github.com/nodejs/node/pull/15136 Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: Timothy Gu Reviewed-By: Prince John Wesley Reviewed-By: Luigi Pinca Reviewed-By: James M Snell Reviewed-By: Yuta Hiroto --- lib/repl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/repl.js b/lib/repl.js index 53b8d2c46c..bc9b17de72 100644 --- a/lib/repl.js +++ b/lib/repl.js @@ -694,7 +694,7 @@ REPLServer.prototype.setPrompt = function setPrompt(prompt) { REPLServer.prototype.turnOffEditorMode = util.deprecate( function() { _turnOffEditorMode(this); }, 'REPLServer.turnOffEditorMode() is deprecated', - 'DEP00XX'); + 'DEP0078'); // A stream to push an array into a REPL // used in REPLServer.complete