diff --git a/lib/config/decrypt.js b/lib/config/decrypt.js index dccb44c2aa799176b1831ef31cb89731fe44f069..93d8ffb25bda5bca1d281d75e9c1c61557e5b3bb 100644 --- a/lib/config/decrypt.js +++ b/lib/config/decrypt.js @@ -44,6 +44,7 @@ function decryptConfig(config, privateKey) { } /* eslint-enable no-template-curly-in-string */ } else { + logger.debug('Adding npmrc to config'); decryptedConfig.npmrc = `//registry.npmjs.org/:_authToken=${token}\n`; } } else { diff --git a/lib/workers/repository/init/config.js b/lib/workers/repository/init/config.js index 5205bb86444115927f5c123dbb69e7efefbf8fc5..5e1c1c03627353eebd791da9f461495aed59477e 100644 --- a/lib/workers/repository/init/config.js +++ b/lib/workers/repository/init/config.js @@ -121,6 +121,7 @@ async function mergeRenovateConfig(config) { const decryptedConfig = decryptConfig(migratedConfig, config.privateKey); // istanbul ignore if if (decryptedConfig.npmrc) { + logger.debug('Found npmrc in decrypted config - setting'); npmApi.setNpmrc( decryptedConfig.npmrc, config.global ? config.global.exposeEnv : false