Skip to content

Commit a33c874

Browse files
committed
Fix committer display log
1 parent 66ace41 commit a33c874

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

action/dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

action/index.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@
5757
//Commit to repository
5858
{
5959
const rest = github.getOctokit(committer)
60-
const {data:{login:committer}} = await rest.users.getAuthenticated()
61-
console.log(`Committer | ${committer}`)
60+
console.log(`Committer | ${(await rest.users.getAuthenticated()).data.login}`)
6261
let sha = undefined
6362
try {
6463
const {data} = await rest.repos.getContent({

0 commit comments

Comments
 (0)