Commit f0b8cc6a authored by Ben Noordhuis's avatar Ben Noordhuis Committed by Ryan Dahl
Browse files

require() should work with `node --eval`.

with tests

Fix module path resolve bug.  Normally the module path is taken from
realpath(__filename) but with eval there is (of course) no filename
parent 7a3971e4
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment