From 4893f70d12691208abf8c668d8347240df561f14 Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Tue, 6 Mar 2018 18:32:16 +0100 Subject: repl: remove magic mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The magic mode is long deprecated and works the same as the sloppy mode. Since the sloppy mode is the default, removing the magic mode should be safe. PR-URL: https://github.com/nodejs/node/pull/19187 Reviewed-By: Colin Ihrig Reviewed-By: Michaël Zasso Reviewed-By: Tiancheng "Timothy" Gu Reviewed-By: Sakthipriyan Vairamani Reviewed-By: Сковорода Никита Андреевич --- lib/repl.js | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/repl.js') diff --git a/lib/repl.js b/lib/repl.js index 7645988752..3cfa1996d8 100644 --- a/lib/repl.js +++ b/lib/repl.js @@ -716,7 +716,6 @@ exports.REPLServer = REPLServer; exports.REPL_MODE_SLOPPY = Symbol('repl-sloppy'); exports.REPL_MODE_STRICT = Symbol('repl-strict'); -exports.REPL_MODE_MAGIC = exports.REPL_MODE_SLOPPY; // prompt is a string to print on each line for the prompt, // source is a stream to use for I/O, defaulting to stdin/stdout. -- cgit v1.2.3