From 047beb5579b77d48efaf426ad84919cb21fbc557 Mon Sep 17 00:00:00 2001 From: Basti Date: Wed, 16 Nov 2022 15:39:51 +0100 Subject: [PATCH] replace console.log with core.debug --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index ea5056b..8a43f61 100644 --- a/index.js +++ b/index.js @@ -15,7 +15,7 @@ var encodedString = core.getInput('encodedString'); // most @actions toolkit packages have async methods async function run() { try { - console.log(process.env); + core.debug(process.env); const tempFile = Buffer.from(encodedString, 'base64'); if (tempFile.length == 0) @@ -23,7 +23,7 @@ async function run() { fse.outputFile(fileName, tempFile, (err) => { if (err) throw err; - console.log('Wrote file!'); + core.debug('Wrote file!'); }); core.setOutput('filePath', fileName);