Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2010-05-10 06:34:14 +0400
committerisaacs <i@izs.me>2010-05-10 06:34:14 +0400
commit1f4067820fd72065759980a1516566051ddc3974 (patch)
treec591b4d08f49ec2fcc7f391d88265e179c1b2ec5 /lib
parent24de6ca5396edbca75971ad03be023b8e6659bfd (diff)
Be just a little less noisy
Diffstat (limited to 'lib')
-rw-r--r--lib/build.js6
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