Browse Source

Remove two debug statements that are a bit much.

v0.7.4-release
isaacs 15 years ago
committed by Ryan Dahl
parent
commit
0ea2f9e04b
  1. 4
      src/node.js

4
src/node.js

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

Loading…
Cancel
Save