Browse Source

Add os module to repl's built-in lib list

v0.7.4-release
Brian White 14 years ago
committed by Ryan Dahl
parent
commit
6d75c06e64
  1. 2
      lib/repl.js

2
lib/repl.js

@ -256,7 +256,7 @@ REPLServer.prototype.complete = function(line) {
// Kind of lame that this needs to be updated manually.
// Intentionally excluding moved modules: posix, utils.
var builtinLibs = ['assert', 'buffer', 'child_process', 'crypto', 'dgram',
'dns', 'events', 'file', 'freelist', 'fs', 'http', 'net', 'path',
'dns', 'events', 'file', 'freelist', 'fs', 'http', 'net', 'os', 'path',
'querystring', 'readline', 'repl', 'string_decoder', 'util', 'tcp',
'url'];
completionGroups.push(builtinLibs);

Loading…
Cancel
Save