Skip to content

Commit

Permalink
Switch param order for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
angelapwen committed Jun 24, 2024
1 parent 7c35b4f commit 5d57660
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pr-checks/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"nightly-latest"
]

def is_os_and_version_excluded(version, os, exclude_params):
def is_os_and_version_excluded(os, version, exclude_params):
for exclude_param in exclude_params:
if exclude_param[0] == os and exclude_param[1] == version:
return True
Expand Down Expand Up @@ -73,7 +73,7 @@ def writeHeader(checkStream):

for runnerImage in runnerImagesForOs:
# Skip appending this combination to the matrix if it is explicitly excluded.
if is_os_and_version_excluded(version, operatingSystem, excludedOsesAndVersions):
if is_os_and_version_excluded(operatingSystem, version, excludedOsesAndVersions):
continue

# Prior to CLI v2.15.1, ARM runners were not supported by the build tracer.
Expand Down

0 comments on commit 5d57660

Please sign in to comment.