Skip to content

Commit

Permalink
fix: add prefix to call to compareCommitsWithBasehead (#35)
Browse files Browse the repository at this point in the history
* fix: add prefix to call to compareCommitsWithBasehead

to resolve issue #31

* fix: revert unintended formatting changes
  • Loading branch information
galenwarren authored Nov 12, 2023
1 parent eba7d40 commit fc64c94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31171,7 +31171,7 @@ async function main () {
const commitsRaw = await gh.rest.repos.compareCommitsWithBasehead({
owner,
repo,
basehead: `${latestTag.name}...${branch}`,
basehead: `${prefix}${latestTag.name}...${branch}`,
page: curPage,
per_page: 100
})
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ async function main () {
const commitsRaw = await gh.rest.repos.compareCommitsWithBasehead({
owner,
repo,
basehead: `${latestTag.name}...${branch}`,
basehead: `${prefix}${latestTag.name}...${branch}`,
page: curPage,
per_page: 100
})
Expand Down

0 comments on commit fc64c94

Please sign in to comment.