Skip to content

Commit

Permalink
standard
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber committed Oct 14, 2022
1 parent 1bcc1af commit a263583
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ const main = async () => {
}
if (branch) {
query.head =
branch.indexOf(':') === -1 ? `${github.context.repo.owner}:${branch}` : branch
branch.indexOf(':') === -1
? `${github.context.repo.owner}:${branch}`
: branch
}
if (base) {
query.base = base
Expand Down

0 comments on commit a263583

Please sign in to comment.