repl: use path.resolve() for the module.filename
authorNathan Rajlich <nathan@tootallnate.net>
Tue, 13 Mar 2012 00:24:39 +0000 (17:24 -0700)
committerBert Belder <bertbelder@gmail.com>
Tue, 13 Mar 2012 18:58:49 +0000 (19:58 +0100)
commit109b16d4889a82afa80b044f0e73c704b75a4598
tree79cca053692c0c394e8bf7b9e0d149b3cc775e6e
parentbcb0cc0b184c61313541002e504948ed21f59dad
repl: use path.resolve() for the module.filename

Windows was seeing: "C:\\path\\to\\cwd/repl"
lib/repl.js