From df43754fe1bf70042ae364f2365b42271468f102 Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Thu, 21 Feb 2019 15:33:46 +0100 Subject: repl: hide editor mode if not used in a terminal The editor mode is only useable when used as terminal. Hide it from the user in case the repl terminal option is not set. PR-URL: https://github.com/nodejs/node/pull/26240 Reviewed-By: Anna Henningsen Reviewed-By: Anto Aravinth Reviewed-By: Roman Reiss Reviewed-By: Jeremiah Senkpiel --- test/parallel/test-repl.js | 1 - 1 file changed, 1 deletion(-) (limited to 'test/parallel/test-repl.js') diff --git a/test/parallel/test-repl.js b/test/parallel/test-repl.js index 6e3bca24e2..bcaa39f6aa 100644 --- a/test/parallel/test-repl.js +++ b/test/parallel/test-repl.js @@ -439,7 +439,6 @@ const errorTests = [ expect: [ /\.break/, /\.clear/, - /\.editor/, /\.exit/, /\.help/, /\.load/, -- cgit v1.2.3