Remove two debug statements that are a bit much.

This commit is contained in:
isaacs
2009-12-17 14:06:56 -08:00
committed by Ryan Dahl
parent 6301f18e62
commit 0ea2f9e04b

View File

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