From 42eb6a68df3f8614d839b694019b163e33a95f18 Mon Sep 17 00:00:00 2001 From: Lars Willighagen Date: Tue, 20 Nov 2018 23:56:22 +0100 Subject: [PATCH] fix(pacote): pass git opts to pacote Pass git binary path config to pacote. See zkat/pacote#164 See https://npm.community/t/3278 --- 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'),