summaryrefslogtreecommitdiff
path: root/scripts/stats/index.js
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@matthewphillips.info> 2021-09-01 09:42:11 -0700
committerGravatar GitHub <noreply@github.com> 2021-09-01 12:42:11 -0400
commitf6141d3a4c07359f464fdc893741104c1407e7f6 (patch)
tree0ee7130308134b32662ae6cdabfc3294968b3ace /scripts/stats/index.js
parentee31b8332b90b0392695efcf7418a7f5c40a8c81 (diff)
downloadastro-f6141d3a4c07359f464fdc893741104c1407e7f6.tar.gz
astro-f6141d3a4c07359f464fdc893741104c1407e7f6.tar.zst
astro-f6141d3a4c07359f464fdc893741104c1407e7f6.zip
Nightly stats: don't count PRs as issues (#1288)
Diffstat (limited to 'scripts/stats/index.js')
-rw-r--r--scripts/stats/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/stats/index.js b/scripts/stats/index.js
index 88e7725ae..f13f1be2e 100644
--- a/scripts/stats/index.js
+++ b/scripts/stats/index.js
@@ -81,7 +81,7 @@ export async function run() {
// Pull requests
pulls.length,
// Open Issues
- issues.length,
+ issues.length - pulls.length,
// Bugs: Needs Triage
(await countCards(COLUMN_ID_BUGS_NEEDS_TRIAGE)).length,
// Bugs: Accepted