diff options
author | Forrest L Norvell <forrest@npmjs.com> | 2015-05-08 11:37:24 +0300 |
---|---|---|
committer | Forrest L Norvell <forrest@npmjs.com> | 2015-05-08 12:04:54 +0300 |
commit | eb18245f55fb4cd62a36867744bcd1b7be0a33e2 (patch) | |
tree | 06b5738c957cf28475808b48d73d01623420a3b5 /lib/install.js | |
parent | f9314e97d26532c0ef2b03e98f3ed300b7cd5026 (diff) |
install: nerf normalization output on dependencies
Before it was logged at warning level, even though it's often completely
not something that you as the application developer can do anything
about.
Diffstat (limited to 'lib/install.js')
-rw-r--r-- | lib/install.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/install.js b/lib/install.js index 83ec1517a..978216458 100644 --- a/lib/install.js +++ b/lib/install.js @@ -644,7 +644,7 @@ function installManyTop_ (what, where, context, cb) { return path.resolve(nm, p, "package.json") }), function (jsonPath, cb) { log.verbose('installManyTop', 'reading scoped package data from', jsonPath) - readJson(jsonPath, log.warn, function (er, data) { + readJson(jsonPath, log.info, function (er, data) { if (er && er.code !== "ENOENT" && er.code !== "ENOTDIR") return cb(er) if (er) return cb(null, []) cb(null, [[data.name, data.version]]) @@ -799,7 +799,7 @@ function targetResolver (where, context, deps, devDeps) { asyncMap(inst, function (pkg, cb) { var jsonPath = path.resolve(name, pkg, 'package.json') log.verbose('targetResolver', 'reading package data from', jsonPath) - readJson(jsonPath, log.warn, function (er, d) { + readJson(jsonPath, log.info, function (er, d) { if (er && er.code !== "ENOENT" && er.code !== "ENOTDIR") return cb(er) // error means it's not a package, most likely. if (er) return cb(null, []) |