From 66dfac53286d1ae56996e1646594f5e0cccde1bb Mon Sep 17 00:00:00 2001 From: Andres Vargas Date: Wed, 21 Oct 2020 19:02:40 -0500 Subject: [PATCH] update comment --- src/authutil.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/authutil.ts b/src/authutil.ts index bdfb00c91..aaebdfd21 100644 --- a/src/authutil.ts +++ b/src/authutil.ts @@ -53,7 +53,7 @@ function writeRegistryToFile( newContents += `${authString}${os.EOL}${registryString}${os.EOL}${alwaysAuthString}`; fs.writeFileSync(fileLocation, newContents); core.exportVariable('NPM_CONFIG_USERCONFIG', fileLocation); - // Export empty node_auth_token so npm doesn't complain about not being able to find it + // Export empty node_auth_token if didn't exist so npm doesn't complain about not being able to find it core.exportVariable( 'NODE_AUTH_TOKEN', process.env.NODE_AUTH_TOKEN || 'XXXXX-XXXXX-XXXXX-XXXXX'