blob: f102fd580f7e20f0dac06220d047a1ba15604a69 [file]
import os
import sys
path = "/home/chrome-bot/.bazelrc"
if os.path.exists(path):
print(f"BAZELRC_EXISTS: TRUE")
print(f"Contents of {path}:")
try:
with open(path, "r") as f:
print(f.read())
except Exception as e:
print(f"Error reading {path}: {e}")
else:
print(f"BAZELRC_EXISTS: FALSE")