Fix undefined instead of ref in log output

This commit is contained in:
Michal Dorner 2021-04-07 22:41:22 +02:00
parent 37a6d38b2d
commit 02eeef4973
No known key found for this signature in database
GPG key ID: 9EEE04B48DA36786
2 changed files with 6 additions and 6 deletions

View file

@ -65,7 +65,7 @@ export async function getChangesSinceMergeBase(base: string, head: string, initi
}
let noMergeBase = false
core.startGroup(`Searching for merge-base ${base}...${headRef}`)
core.startGroup(`Searching for merge-base ${base}...${head}`)
try {
baseRef = await getFullRef(base)
headRef = await getFullRef(head)