diff options
Diffstat (limited to 'node_modules/pacote/lib/util/pack-dir.js')
-rw-r--r-- | node_modules/pacote/lib/util/pack-dir.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/node_modules/pacote/lib/util/pack-dir.js b/node_modules/pacote/lib/util/pack-dir.js index 60989025c..54a94e586 100644 --- a/node_modules/pacote/lib/util/pack-dir.js +++ b/node_modules/pacote/lib/util/pack-dir.js @@ -32,7 +32,9 @@ function packDir (manifest, label, dir, target, opts) { } else { const cacher = cacache.put.stream( opts.cache, cacheKey('packed-dir', label), opts - ) + ).on('integrity', i => { + target.emit('integrity', i) + }) return BB.all([ pipe(packer, cacher), pipe(packer, target) |