Skip to content
This repository has been archived by the owner on Apr 22, 2023. 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
Closed

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

wants to merge 1 commit into from

Conversation

TooTallNate
Copy link

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] }'

@bnoordhuis
Copy link
Member

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.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants