Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
craig-day committed Mar 23, 2021
1 parent d802d1f commit f985fb9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions action.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ async function existingTags() {
...requestOpts,
ref: 'tags',
})
.then((refs) => refs.reverse())
.then((refs) => {
console.log(refs)
refs.reverse()
})
.catch((e) => {
core.setFailed(`Failed to fetch matching refs (tags): ${e}`)
})
Expand Down Expand Up @@ -165,7 +168,7 @@ async function computeLastTag(givenTag, branch = null) {
return null
} else {
return findMatchingLastTag(recentTags, branch).catch((error) => {
core.setFailed(`Failed to mind matching last tag with error ${error}`)
core.setFailed(`Failed to find matching last tag with error ${error}`)
})
}
} else {
Expand Down

0 comments on commit f985fb9

Please sign in to comment.