Skip to content

Commit 1bbf6e4

Browse files
author
Taniya Mathur
committed
Fix type errors in string concatenation
Handle potential None values in bucket, prefix_and_version, and region
1 parent c9e7fb3 commit 1bbf6e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

publish.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2097,7 +2097,7 @@ def get_component_checksum(self, *paths):
20972097

20982098
# Include deployment context in checksum calculation
20992099
combined = (
2100-
"".join(checksums) + self.bucket + self.prefix_and_version + self.region
2100+
"".join(checksums) + (self.bucket or "") + (self.prefix_and_version or "") + (self.region or "")
21012101
)
21022102
result = hashlib.sha256(combined.encode()).hexdigest()
21032103

0 commit comments

Comments
 (0)