diff --git a/src/main/github/pr-refresh-coordinator.ts b/src/main/github/pr-refresh-coordinator.ts index 83438ce31e7..5bb70a970cb 100644 --- a/src/main/github/pr-refresh-coordinator.ts +++ b/src/main/github/pr-refresh-coordinator.ts @@ -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] : [] }