From 2bc09d43a86016d5d32703317d7054ef3c601b38 Mon Sep 17 00:00:00 2001 From: Renan Carneiro Date: Fri, 4 Aug 2023 15:09:34 -0300 Subject: [PATCH] test --- dist/index.js | 3 +-- src/controller/evaluator.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index f13e39d..00d7c88 100644 --- a/dist/index.js +++ b/dist/index.js @@ -51,12 +51,11 @@ function runStepsEvaluator(pathList) { evaluations: [{"grade": "1", "description": "GeniusLogic"}], }) - const outputBase64 = Buffer.from(json).toString("base64") + const outputBase64 = btoa(json) core.setOutput('result', outputBase64) } catch(error) { core.setFailed(`${error}`) - return error } } diff --git a/src/controller/evaluator.js b/src/controller/evaluator.js index c479c8f..473b4f8 100644 --- a/src/controller/evaluator.js +++ b/src/controller/evaluator.js @@ -45,12 +45,11 @@ function runStepsEvaluator(pathList) { evaluations: [{"grade": "1", "description": "GeniusLogic"}], }) - const outputBase64 = Buffer.from(json).toString("base64") + const outputBase64 = btoa(json) core.setOutput('result', outputBase64) } catch(error) { core.setFailed(`${error}`) - return error } }