From a10d0967b5268f93a6825072260ffab7944c0805 Mon Sep 17 00:00:00 2001 From: Edward Romero Date: Tue, 23 Jun 2020 21:00:17 -0400 Subject: [PATCH] add log to figure out if we are writting everything properly --- src/authutil.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/authutil.ts b/src/authutil.ts index 3ca8e157..59cc0385 100644 --- a/src/authutil.ts +++ b/src/authutil.ts @@ -107,6 +107,7 @@ async function writeRegistryToFile( newContents += `${authString}${os.EOL}${registryString}${os.EOL}${alwaysAuthString}`; } + console.log(newContents); fs.writeFileSync(fileLocation, newContents); core.exportVariable('NPM_CONFIG_USERCONFIG', fileLocation); if (defaultNodeAuthToken !== nodeAuthToken) {