diff options
Diffstat (limited to 'script')
| -rwxr-xr-x | script/beta.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/beta.ts b/script/beta.ts index 4355c5879..b5f1c3e1e 100755 --- a/script/beta.ts +++ b/script/beta.ts @@ -34,7 +34,7 @@ async function main() { console.log("Fetching open PRs with beta label...") const stdout = await $`gh pr list --state open --label beta --json number,title,author,labels --limit 100`.text() - const prs: PR[] = JSON.parse(stdout) + const prs: PR[] = JSON.parse(stdout).sort((a: PR, b: PR) => a.number - b.number) console.log(`Found ${prs.length} open PRs with beta label`) |
