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>2012-02-29 04:18:03 +0400
committerisaacs <i@izs.me>2012-02-29 04:18:03 +0400
commit42ef568be733135a5a27f838031dc7e115cac8f6 (patch)
tree9055fe1d1f2d9478ad94114c16666ac88a601d06
parent9d425d081602743198fbe20a0fb59954c4c2e595 (diff)
Don't log undefined in afterUntar
-rw-r--r--lib/utils/tar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/tar.js b/lib/utils/tar.js
index cfe4439ef..519742da8 100644
--- a/lib/utils/tar.js
+++ b/lib/utils/tar.js
@@ -253,7 +253,7 @@ function gunzTarPerm (tarball, tmp, dMode, fMode, uid, gid, cb) {
})
function afterUntar (er) {
- log.silly(er, "afterUntar")
+ log.silly(er || "ok", "afterUntar")
// if we're not doing ownership management,
// then we're done now.
if (er) return log.er(cb, "Failed unpacking "+tarball)(er)