Fix local bazellocation

This commit is contained in:
Isaac 2025-06-11 13:38:14 +08:00
parent c42b2bd9c0
commit 5200c378c6

View File

@ -35,6 +35,8 @@ def calculate_sha256(file_path):
return sha256_hash.hexdigest()
def resolve_cache_host(cache_host):
if cache_host is None:
return None
if "@auto" in cache_host:
host_parts = cache_host.split("@auto")
host_left_part = host_parts[0]