Skip to content

The open source coding agent.

TypeScript

ci

Dax Raadb9e9c8c76397
diff --git a/script/beta.ts b/script/beta.ts
index 2318ad68e10..19b2f456408 100755
--- a/script/beta.ts
+++ b/script/beta.ts
@@ -49,9 +49,9 @@ async function main() {
continue
}
- // Get diff from PR base to PR head and apply it
+ // Get diff from dev to PR head (PR's changes)
console.log(` Getting diff for PR #${pr.number}...`)
- const diff = await $`git diff HEAD...pr-${pr.number}`.nothrow()
+ const diff = await $`git diff dev..pr-${pr.number}`.nothrow()
if (diff.exitCode !== 0) {
console.log(` Failed to get diff for PR #${pr.number}`)
console.log(` Error: ${diff.stderr}`)