mirror of
https://github.com/stablyai/orca.git
synced 2026-10-18 08:03:22 +00:00
Assign the trimmed head OID in the coordinator lookup options
Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
@@ -56,7 +56,7 @@ function hostedReviewOptionArgs(
|
||||
options.acceptMergedFallbackPR = true
|
||||
}
|
||||
if (typeof candidate.currentHeadOid === 'string' && candidate.currentHeadOid.trim().length > 0) {
|
||||
options.currentHeadOid = candidate.currentHeadOid
|
||||
options.currentHeadOid = candidate.currentHeadOid.trim()
|
||||
}
|
||||
return Object.keys(options).length > 0 ? [options] : []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user