repl: remove 'repl' from automatic loading libs
authorRyunosuke SATO <tricknotes.rs@gmail.com>
Tue, 11 Dec 2012 10:14:49 +0000 (19:14 +0900)
committerisaacs <i@izs.me>
Wed, 26 Dec 2012 23:25:00 +0000 (15:25 -0800)
In repl, calling `repl` twice shows the following message:
```
> repl
A different "repl" already exists globally
```

lib/repl.js

index 7363d2e..d67aa0a 100644 (file)
@@ -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'];