Skip to content
Snippets Groups Projects
Commit ae7aecac authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix: setNpmrc after resolveConfig

parent 42145e60
No related branches found
No related tags found
No related merge requests found
......@@ -139,6 +139,10 @@ async function mergeRenovateConfig(config) {
logger.debug(
'Ignoring any .npmrc files in repository due to configured npmrc'
);
npmApi.setNpmrc(
resolvedConfig.npmrc,
config.global ? config.global.exposeEnv : false
);
resolvedConfig.ignoreNpmrcFile = true;
}
returnConfig = mergeChildConfig(returnConfig, resolvedConfig);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment