Skip to content

Commit 37cb9f0

Browse files
committed
fixup, add strict=True to zip() to guard against silent length mismatches
1 parent ddd6a90 commit 37cb9f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/update-commit-latest-env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ async def main():
9494
sys.exit(1)
9595

9696
output = []
97-
for image, result in zip(images_to_inspect, results):
97+
for image, result in zip(images_to_inspect, results, strict=True):
9898
variable, image_digest = image
9999
_, commit_hash = result
100100
output.append((re.sub(r'-n$', "-commit-n", variable), commit_hash[:7]))

0 commit comments

Comments
 (0)