root_module should be a local variable

v0.7.4-release
Ryan 2009-07-20 18:30:15 +02:00
parent 2a695a9721
commit b07dc31e1b
1 changed files with 1 additions and 1 deletions

View File

@ -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