Skip to content

Commit

Permalink
fix initial 0 downloads bug (#7794)
Browse files Browse the repository at this point in the history
* fix a minor bug in the script that scrapes for download stats
* it was incorrectly setting the first days downloads of a new release = 0
  • Loading branch information
lbergelson committed Apr 27, 2022
1 parent 8d63275 commit af69f8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/get_gatk_stats_app_script.gs
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ function recordGitHubReleaseDownloadCount(githubUrl, authToken) {
newReleaseDownloadDiffCountHeaderCell.setValue(tagName + " New Downloads");
newReleaseDownloadDiffCountHeaderCell.setFontWeight('bold');

// No old downloads here:
row.push(0);
// no old data so use today's downloads
row.push(downloadCount);
}
else {
// We've seen this release before. Let's get some diff numbers:
Expand Down

0 comments on commit af69f8d

Please sign in to comment.