-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Github] download count for latest pre-release (#1140)
Implements #1113. Removed extra space in 2 cases (failing tests without this change): 1) Github downloads for latest release [ GET http://localhost:1111/github/downloads/photonstorm/phaser/latest/total.json ]: ValidationError: child "value" fails because ["value" with value "63k " fails to match the required pattern: /^[0-9]+[kMGTPEZY]?$/] -- 2) Github downloads-pre for latest release [ GET http://localhost:1111/github/downloads-pre/photonstorm/phaser/latest/total.json ]: ValidationError: child "value" fails because ["value" with value "34 " fails to match the required pattern: /^[0-9]+[kMGTPEZY]?$/] -- 3) Github downloads for specific asset from latest release [ GET http://localhost:1111/github/downloads/atom/atom/latest/atom-amd64.deb.json ]: ValidationError: child "value" fails because ["value" with value "3k [atom-amd64.deb]" fails to match the required pattern: /^[0-9]+[kMGTPEZY]? \[atom-amd64\.deb\]$/] -- 4) Github downloads-pre for specific asset from latest release [ GET http://localhost:1111/github/downloads-pre/atom/atom/latest/atom-amd64.deb.json ]: ValidationError: child "value" fails because ["value" with value "372 [atom-amd64.deb]" fails to match the required pattern: /^[0-9]+[kMGTPEZY]? \[atom-amd64\.deb\]$/]
- Loading branch information
1 parent
c579ed7
commit 848422c
Showing
3 changed files
with
55 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters