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
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2010-08-24 11:43:53 +0400
committerisaacs <i@izs.me>2010-08-24 11:43:53 +0400
commitf7ecd8c5b9ae6dbd36b7976dddae4ca324d6e9a4 (patch)
treeebdddf043536790bddbfa5e10e21e118675f6373
parent42b49994d6c53385e0f865e501f7d3af1b009a8d (diff)
lug butter
-rw-r--r--lib/build.js3
-rw-r--r--lib/update-dependents.js2
-rw-r--r--lib/utils/read-installed.js1
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/build.js b/lib/build.js
index dcca4cb89..d62d1cadb 100644
--- a/lib/build.js
+++ b/lib/build.js
@@ -183,7 +183,8 @@ function dependencyLink (pkg, cb) {
// shim {target}/{module-name} to ROOT/.npm/{name}/{version}/package/{module-path}
module.libWarning = false
function linkModules (pkg, target, cb) {
- log.verbose([ pkg, target ].join("\n"), "linkModules")
+ log.silly(pkg, "linkModules")
+ log.verbose(target, "linkModules")
var mod = pkg.modules
if (!mod) {
var lib = pkg.directories && pkg.directories.lib || pkg.lib
diff --git a/lib/update-dependents.js b/lib/update-dependents.js
index 7837a7646..ae247b396 100644
--- a/lib/update-dependents.js
+++ b/lib/update-dependents.js
@@ -90,7 +90,7 @@ function updateOtherVersionDeps (other, pkg, cb) {
fs.readdir(depdir, function (er, deps) {
// if the package didn't have any deps, then this folder
// would not be created.
- if (er) return log("no dependents", "update", cb)
+ if (er) return log.verbose("no dependents", "update", cb)
// for each of these, update the dependency on
// other to pkg
if (!deps.length) return cb()
diff --git a/lib/utils/read-installed.js b/lib/utils/read-installed.js
index 8c8af9c4e..f736c8ca8 100644
--- a/lib/utils/read-installed.js
+++ b/lib/utils/read-installed.js
@@ -6,7 +6,6 @@
var npm = require("../../npm")
, fs = require("./graceful-fs")
, path = require("path")
- , log = require("./log")
, mkdir = require("./mkdir-p")
module.exports = readInstalled