This repository has been archived by the owner. It is now read-only.

Ensure that the util.inspect function isn't the one being executed. #2226

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

Fixes #2225.

Also fixes the case with the sys module:

require('util').inspect(require('sys'));
  // before:
  // '2'
  // now: 
  // The "sys" module is now called "util". It should have a similar interface.
  // '{ print: [Function],\n  puts: [Function],\n  debug: [Function],\n  error: [Function],\n  inspect: [Function: inspect],\n  p: [Function],\n  log: [Function],\n  exec: [Function],\n  pump: [Function],\n  inherits: [Function] }'
Member

bnoordhuis commented Nov 30, 2011

Thanks, Nathan. Merged in b204006.

@bnoordhuis bnoordhuis closed this Nov 30, 2011

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.