From 0db521d0b0d2cd9dc6bc3b1a52ebab0d409030a2 Mon Sep 17 00:00:00 2001 From: Ryunosuke SATO Date: Tue, 11 Dec 2012 19:14:49 +0900 Subject: [PATCH] repl: remove 'repl' from automatic loading libs In repl, calling `repl` twice shows the following message: ``` > repl A different "repl" already exists globally ``` --- lib/repl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/repl.js b/lib/repl.js index 7363d2e..d67aa0a 100644 --- a/lib/repl.js +++ b/lib/repl.js @@ -70,7 +70,7 @@ exports.writer = util.inspect; exports._builtinLibs = ['assert', 'buffer', 'child_process', 'cluster', 'crypto', 'dgram', 'dns', 'domain', 'events', 'fs', 'http', 'https', 'net', - 'os', 'path', 'punycode', 'querystring', 'readline', 'repl', 'stream', + 'os', 'path', 'punycode', 'querystring', 'readline', 'stream', 'string_decoder', 'tls', 'tty', 'url', 'util', 'vm', 'zlib']; -- 2.7.4