diff --git a/release-gate/runner.mjs b/release-gate/runner.mjs index 818141b..882c6db 100644 --- a/release-gate/runner.mjs +++ b/release-gate/runner.mjs @@ -211,7 +211,7 @@ async function applyRepositoryChecks(results, artifactPath) { { cwd: ROOT, timeoutMs: 30_000 }, ); if (aheadBehind.code === 0) { - [behind, ahead] = aheadBehind.stdout.trim().split(/\s+/); + [ahead, behind] = aheadBehind.stdout.trim().split(/\s+/); } } const ciStatus = remoteSha && behind === '0'