Skip to content

Commit

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

See zkat/pacote#164
See https://npm.community/t/3278
  • Loading branch information
larsgw committed Nov 20, 2018
1 parent bcae4ea commit 42eb6a6
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 42eb6a6

Please # to comment.