Skip to content

Commit

Permalink
Add missing && to filter in coverage navigation template
Browse files Browse the repository at this point in the history
  • Loading branch information
soufianenassih committed Sep 8, 2020
1 parent bed6fe1 commit f1e5056
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mx.py
Original file line number Diff line number Diff line change
Expand Up @@ -16997,7 +16997,7 @@ def alarm_handler(signum, frame):


# The version must be updated for every PR (checked in CI)
version = VersionSpec("5.272.1") # GR-25876
version = VersionSpec("5.272.2") # GR-26016

currentUmask = None
_mx_start_datetime = datetime.utcnow()
Expand Down
2 changes: 1 addition & 1 deletion mx_gate.py
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ def upload_string(content, path):
.filter(x => !x.hasOwnProperty('merge'))
.filter( // filter builds that are unique per suite with revision as key
x => !data
.filter(z => x != z && x.jdk_version == z.jdk_version x.suite == z.suite) // exclude self build and build for other suites.
.filter(z => x != z && x.jdk_version == z.jdk_version && x.suite == z.suite) // exclude self build and build for other suites.
.map(z => z.revision) // map from array of build to array of revision
.includes(x.revision) // check if revision of x is index data.
).concat(data.filter(x => x.hasOwnProperty('merge'))); // concat unique build with merged build.
Expand Down

0 comments on commit f1e5056

Please sign in to comment.