Skip to content

Commit 890a744

Browse files
larsgwzkat
authored andcommitted
pacote: pass git opts to pacote (#98)
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
1 parent 31a7274 commit 890a744

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/config/pacote.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ function pacoteOpts (moreOpts) {
2525
cert: npm.config.get('cert'),
2626
defaultTag: npm.config.get('tag'),
2727
dirPacker: pack.packGitDep,
28+
git: npm.config.get('git'),
2829
hashAlgorithm: 'sha1',
2930
includeDeprecated: false,
3031
key: npm.config.get('key'),

0 commit comments

Comments
 (0)