From be682f6c2b794be2a4d2b93e6315c48a34979e09 Mon Sep 17 00:00:00 2001 From: Edward Romero Date: Tue, 23 Jun 2020 20:22:06 -0400 Subject: [PATCH] add more info to log response --- src/authutil.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/authutil.ts b/src/authutil.ts index f476015b..259e8bc0 100644 --- a/src/authutil.ts +++ b/src/authutil.ts @@ -36,9 +36,9 @@ async function getAuthToken( }); let response: hc.HttpClientResponse = await httpClient.get(authUrl); let body: string = await response.readBody(); - console.log(body); + core.info(body); let data: any = JSON.parse(body); - console.log(JSON.stringify(data)); + core.info(JSON.stringify(data)); return ''; } @@ -58,7 +58,7 @@ async function writeRegistryToFile( scope = scope.toLowerCase(); } - core.debug(`Setting auth in ${fileLocation}`); + core.info(`Setting auth in ${fileLocation}`); let newContents: string = ''; if (fs.existsSync(fileLocation)) { const curContents: string = fs.readFileSync(fileLocation, 'utf8');