Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
renanvy committed Aug 4, 2023
1 parent ee9e886 commit 2bc09d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down
3 changes: 1 addition & 2 deletions src/controller/evaluator.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 2bc09d4

Please sign in to comment.