Skip to content

Commit

Permalink
pacote: pass git opts to pacote (#98)
Browse files Browse the repository at this point in the history
Pass git binary path config to pacote.

Ref: zkat/pacote#164
Fixes: https://npm.community/t/3278
PR-URL: #98
Credit: @larsgw
Reviewed-By: @zkat
  • Loading branch information
larsgw authored and aeschright committed Jan 18, 2019
1 parent b3a42dd commit b12195f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/config/pacote.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ function pacoteOpts (moreOpts) {
cert: npm.config.get('cert'),
defaultTag: npm.config.get('tag'),
dirPacker: pack.packGitDep,
git: npm.config.get('git'),
hashAlgorithm: 'sha1',
includeDeprecated: false,
key: npm.config.get('key'),
Expand Down

0 comments on commit b12195f

Please # to comment.