From c09ef151f8c03a49ee58e685213d2a83c5966789 Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Tue, 6 Aug 2019 09:40:13 -0400 Subject: [PATCH] Dont always auth --- lib/authutil.js | 2 +- src/authutil.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/authutil.js b/lib/authutil.js index 162872eb..7feec084 100644 --- a/lib/authutil.js +++ b/lib/authutil.js @@ -41,7 +41,7 @@ function writeRegistryToFile(registryUrl, fileLocation) { const registryString = scope ? `${scope}:registry=${registryUrl}` : `registry=${registryUrl}`; - newContents += `${registryString}${os.EOL}always-auth=true${os.EOL}${authString}`; + newContents += `${registryString}${os.EOL}${authString}`; fs.writeFileSync(fileLocation, newContents); core.exportVariable('NPM_CONFIG_USERCONFIG', fileLocation); } diff --git a/src/authutil.ts b/src/authutil.ts index 8c401498..5afa9915 100644 --- a/src/authutil.ts +++ b/src/authutil.ts @@ -39,7 +39,7 @@ function writeRegistryToFile(registryUrl: string, fileLocation: string) { const registryString = scope ? `${scope}:registry=${registryUrl}` : `registry=${registryUrl}`; - newContents += `${registryString}${os.EOL}always-auth=true${os.EOL}${authString}`; + newContents += `${registryString}${os.EOL}${authString}`; fs.writeFileSync(fileLocation, newContents); core.exportVariable('NPM_CONFIG_USERCONFIG', fileLocation); }