Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
tar: fix prograssbar section name
Browse files Browse the repository at this point in the history
Without this you get `pack:[object Object]`.

Reviewed-By: @zkat
Credit: @iarna
PR-URL: #12845
  • Loading branch information
iarna authored and zkat committed May 26, 2016
1 parent 0b81622 commit cac0038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/tar.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function pack (tarball, folder, pkg, cb) {
var recalculateMetadata = require('../install/deps.js').recalculateMetadata

readPackageTree(folder, iferr(cb, function (tree) {
recalculateMetadata(tree, log.newGroup('pack:' + pkg), iferr(cb, function () {
recalculateMetadata(tree, log.newGroup('pack:' + packageId(pkg)), iferr(cb, function () {
pack_(tarball, folder, tree, flattenTree(tree), pkg, cb)
}))
}))
Expand Down

0 comments on commit cac0038

Please sign in to comment.