mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
root_module should be a local variable
This commit is contained in:
1 parent
2a695a9721
commit
b07dc31e1b
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user