Skip to content

Commit 5d57660

Browse files
committed
Switch param order for clarity
1 parent 7c35b4f commit 5d57660

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pr-checks/sync.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"nightly-latest"
2828
]
2929

30-
def is_os_and_version_excluded(version, os, exclude_params):
30+
def is_os_and_version_excluded(os, version, exclude_params):
3131
for exclude_param in exclude_params:
3232
if exclude_param[0] == os and exclude_param[1] == version:
3333
return True
@@ -73,7 +73,7 @@ def writeHeader(checkStream):
7373

7474
for runnerImage in runnerImagesForOs:
7575
# Skip appending this combination to the matrix if it is explicitly excluded.
76-
if is_os_and_version_excluded(version, operatingSystem, excludedOsesAndVersions):
76+
if is_os_and_version_excluded(operatingSystem, version, excludedOsesAndVersions):
7777
continue
7878

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

0 commit comments

Comments
 (0)