From 890a74458dd4a55e2d85f3eba9dbf125affa4206 Mon Sep 17 00:00:00 2001 From: Lars Willighagen Date: Mon, 10 Dec 2018 23:45:27 +0100 Subject: [PATCH] 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: https://github.com/npm/cli/pull/98 Credit: @larsgw Reviewed-By: @zkat --- lib/config/pacote.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/config/pacote.js b/lib/config/pacote.js index 505b69da375a4..aa573e13ed4a0 100644 --- a/lib/config/pacote.js +++ b/lib/config/pacote.js @@ -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'),