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 zkat committed Dec 10, 2018
1 parent 31a7274 commit 890a744
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 890a744

Please sign in to comment.