From e6b1dcc8efa8646b11be8fec63691d369ff8bb8c Mon Sep 17 00:00:00 2001 From: Tyler Watson Date: Wed, 26 Apr 2023 22:57:11 +1000 Subject: [PATCH] fix: devOps identifier incorrect --- dist/setup/index.js | 4 ++-- src/authutil.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index b84366ca..085872d8 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -71082,8 +71082,8 @@ function writeRegistryToFile(registryUrl, fileLocation, alwaysAuth, username) { // Remove http: or https: from front of registry. const registryPrefix = registryUrl.replace(/(^\w+:|^)/, ''); if (username) { - newContents += registryPrefix + `:_username=${username}${os.EOL}`; - newContents += registryPrefix + `:_email=dummy value` + os.EOL; + newContents += registryPrefix + `:username=${username}${os.EOL}`; + newContents += registryPrefix + `:email=dummy value` + os.EOL; } const authString = username ? registryPrefix + ':_password=${NODE_AUTH_TOKEN}' diff --git a/src/authutil.ts b/src/authutil.ts index ffac7d44..cde3a8af 100644 --- a/src/authutil.ts +++ b/src/authutil.ts @@ -52,8 +52,8 @@ function writeRegistryToFile( const registryPrefix = registryUrl.replace(/(^\w+:|^)/, ''); if (username) { - newContents += registryPrefix + `:_username=${username}${os.EOL}`; - newContents += registryPrefix + `:_email=dummy value` + os.EOL; + newContents += registryPrefix + `:username=${username}${os.EOL}`; + newContents += registryPrefix + `:email=dummy value` + os.EOL; } const authString: string = username