From a9f1343a9ab64f05e14b23b3a6e53d15a33fa4b3 Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Mon, 5 Aug 2019 13:15:47 -0400 Subject: [PATCH] Add type --- src/authutil.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/authutil.ts b/src/authutil.ts index 99cb33b4..aea10086 100644 --- a/src/authutil.ts +++ b/src/authutil.ts @@ -11,7 +11,7 @@ export function configAuthentication(registryUrl: string) { function writeRegistryToFile(registryUrl: string, fileLocation: string) { core.debug(`Setting auth in ${fileLocation}`); - let newContents = ''; + let newContents: string = ''; if (fs.existsSync(fileLocation)) { const curContents: string = fs.readFileSync(fileLocation, 'utf8'); curContents.split(os.EOL).forEach((line: string) => {