mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
Remove two debug statements that are a bit much.
This commit is contained in:
@@ -790,11 +790,11 @@ function loadModule (request, parent) {
|
||||
var parentIdPath = path.dirname(parent.id +
|
||||
(path.filename(parent.filename).match(/^index\.(js|addon)$/) ? "/" : ""));
|
||||
id = path.join(parentIdPath, request);
|
||||
debug("RELATIVE: requested:"+request+" set ID to: "+id+" from "+parent.id+"("+parentIdPath+")");
|
||||
// debug("RELATIVE: requested:"+request+" set ID to: "+id+" from "+parent.id+"("+parentIdPath+")");
|
||||
paths = [path.dirname(parent.filename)];
|
||||
} else {
|
||||
id = request;
|
||||
debug("ABSOLUTE: id="+id);
|
||||
// debug("ABSOLUTE: id="+id);
|
||||
paths = process.paths;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user