- fix formatting, and unused import

This commit is contained in:
Mike Penz
2020-10-17 19:42:26 +02:00
parent bd49950417
commit f63fa1dabb
8 changed files with 39 additions and 18 deletions
+3 -1
View File
@@ -54,7 +54,9 @@ export class Commits {
compareHead = `${commits[0].sha}^`
}
core.info(`️ Found ${commits.length} commits from the GitHub API for ${owner}/${repo}`)
core.info(
`️ Found ${commits.length} commits from the GitHub API for ${owner}/${repo}`
)
return commits.map(commit => ({
sha: commit.sha,
summary: commit.commit.message.split('\n')[0],