diff options
author | isaacs <i@izs.me> | 2010-05-10 06:34:14 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-05-10 06:34:14 +0400 |
commit | 1f4067820fd72065759980a1516566051ddc3974 (patch) | |
tree | c591b4d08f49ec2fcc7f391d88265e179c1b2ec5 /lib | |
parent | 24de6ca5396edbca75971ad03be023b8e6659bfd (diff) |
Be just a little less noisy
Diffstat (limited to 'lib')
-rw-r--r-- | lib/build.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/build.js b/lib/build.js index b419cf209..94b7aaad6 100644 --- a/lib/build.js +++ b/lib/build.js @@ -113,7 +113,6 @@ function autoActivate (pkg, cb) { } function readAndBuild (folder, cb) { - log("readAndBuild", "build") readJson(path.join(folder, "package.json"), function (er, data) { if (er) cb(er) else build([data], cb) @@ -123,7 +122,6 @@ function readAndBuild (folder, cb) { // make sure that all the dependencies have been installed. // todo: if they're not, then install them, and come back here. function resolveDependencies (pkg, topCb) { - log("starting...", "resolveDependencies") if (!pkg) return cb(new Error("Package not found to resolve dependencies")) // link foo-1.0.3 to ROOT/.npm/{pkg}/{version}/dependencies/foo @@ -139,7 +137,7 @@ function resolveDependencies (pkg, topCb) { ;(function R (req) { if (!req) return cb() - log(req.name+" "+req.version, "required") + log(req.name+"-"+req.version, "required") // see if we have this thing installed. fs.readdir(path.join(npm.dir, req.name), function (er, versions) { if (er) return cb(new Error( @@ -229,8 +227,6 @@ function writeShim (from, to, dep, cb) { cb = dep dep = false } - log("from: "+from, "writeShim") - log("to: "+to, "writeShim") var code = "#!"+process.installPrefix+"/bin/node\n" + "// generated by npm, please don't touch!\n" + (dep |