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

fix(npm): reset npmrc no matter what

parent 49a3a8ab
No related branches found
No related tags found
No related merge requests found
...@@ -87,8 +87,7 @@ export function setNpmrc(input?: string): void { ...@@ -87,8 +87,7 @@ export function setNpmrc(input?: string): void {
npmrc[key] = envReplace(npmrc[key]); npmrc[key] = envReplace(npmrc[key]);
sanitize(key, npmrc[key]); sanitize(key, npmrc[key]);
} }
} else if (npmrc) { } else {
logger.debug('Resetting npmrc');
npmrc = null; npmrc = null;
npmrcRaw = null; npmrcRaw = null;
} }
......
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