diff options
author | Ryan <ry@tinyclouds.org> | 2009-07-20 18:30:15 +0200 |
---|---|---|
committer | Ryan <ry@tinyclouds.org> | 2009-07-20 18:30:15 +0200 |
commit | b07dc31e1bbf93a098ce3e2422553b706a833fbf (patch) | |
tree | 8bd0641c389ddc92f1c28ec9a2fcaca76c69ce07 | |
parent | 2a695a9721016e0be5590cbfd6c070a2a00e2575 (diff) | |
download | nodejs-b07dc31e1bbf93a098ce3e2422553b706a833fbf.tar.gz nodejs-b07dc31e1bbf93a098ce3e2422553b706a833fbf.tar.bz2 nodejs-b07dc31e1bbf93a098ce3e2422553b706a833fbf.zip |
root_module should be a local variable
-rw-r--r-- | src/node.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node.js b/src/node.js index e9720fb1a..61fa5bc25 100644 --- a/src/node.js +++ b/src/node.js @@ -158,7 +158,7 @@ node.Module.prototype.exit = function (callback) { (function () { // Load the root module--the command line argument. - root_module = new node.Module({ + var root_module = new node.Module({ path: node.path.filename(ARGV[1]), base_directory: node.path.dirname(ARGV[1]), target: this |