Skip to content
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.

Commit

Permalink
fix(manifest): _resolved is the only main field we do not overwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed May 12, 2017
1 parent 5e5aef9 commit 4c12421
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/finalize-manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ function tarballedProps (pkg, spec, opts) {
needsExtract && pipe(tarStream, gunzip(), extracted),
(sr, mani, paths, hash) => {
const extraProps = mani || {}
delete extraProps._resolved
// drain out the rest of the tarball
tarStream.unpipe()
tarStream.on('data', () => {})
Expand Down

0 comments on commit 4c12421

Please sign in to comment.