Fix committer display log

This commit is contained in:
lowlighter
2020-10-10 21:06:43 +02:00
parent 66ace41b44
commit a33c874b61
2 changed files with 2 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -57,8 +57,7 @@
//Commit to repository //Commit to repository
{ {
const rest = github.getOctokit(committer) const rest = github.getOctokit(committer)
const {data:{login:committer}} = await rest.users.getAuthenticated() console.log(`Committer | ${(await rest.users.getAuthenticated()).data.login}`)
console.log(`Committer | ${committer}`)
let sha = undefined let sha = undefined
try { try {
const {data} = await rest.repos.getContent({ const {data} = await rest.repos.getContent({