diff options
author | Forrest L Norvell <forrest@npmjs.com> | 2014-10-02 11:15:30 +0400 |
---|---|---|
committer | Forrest L Norvell <forrest@npmjs.com> | 2014-10-03 03:07:55 +0400 |
commit | 664795bb7d8da7142417b3f4ef5986db3a394071 (patch) | |
tree | aa5fa6c639062ce5acd9fac9d6d2121cf07a0e2e /lib/cache/add-local-tarball.js | |
parent | 03f6ddc3ba3db90cc1288bfa8e7606aa76b1f3ca (diff) |
log what is and isn't in flight
Diffstat (limited to 'lib/cache/add-local-tarball.js')
-rw-r--r-- | lib/cache/add-local-tarball.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/cache/add-local-tarball.js b/lib/cache/add-local-tarball.js index 101bf16d1..6112ba557 100644 --- a/lib/cache/add-local-tarball.js +++ b/lib/cache/add-local-tarball.js @@ -87,7 +87,8 @@ function addTmpTarball (tgz, pkgData, shasum, cb) { assert(shasum, "must have shasum by now") cb = inflight("addTmpTarball:" + tgz, cb) - if (!cb) return undefined + if (!cb) return log.verbose("addTmpTarball", tgz, "already in flight; waiting") + log.verbose("addTmpTarball", tgz, "not in flight; verifying") // we already have the package info, so just move into place if (pkgData && pkgData.name && pkgData.version) { |