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

Commit

Permalink
fix(finalize-manifest): default this out to simplify tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Feb 18, 2017
1 parent dd6b78e commit b8ff004
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 @@ -25,6 +25,7 @@ function finalizeManifest (pkg, spec, opts, cb) {

module.exports.Manifest = Manifest
function Manifest (pkg, fromTarball) {
fromTarball = fromTarball || {}
this.name = pkg.name
this.version = pkg.version
this.dependencies = pkg.dependencies || {}
Expand Down

0 comments on commit b8ff004

Please sign in to comment.