Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixes #1519

  • Loading branch information...
commit 80f9ef44319b504e4e186544bc99176616947343 1 parent 6c0c00a
@thejh authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/node.js
View
4 src/node.js
@@ -81,8 +81,8 @@
if (process._print_eval) console.log(result);
} else if (process.argv[1]) {
// make process.argv[1] into a full path
- var path = NativeModule.require('path');
- process.argv[1] = path.resolve(process.argv[1]);
+ var fs = NativeModule.require('fs');
+ process.argv[1] = fs.realpathSync(process.argv[1]);
// If this is a worker in cluster mode, start up the communiction
// channel.
Please sign in to comment.
Something went wrong with that request. Please try again.