Address Coderabbit issue

This commit is contained in:
Adam Outler
2025-11-01 23:54:54 +00:00
parent db5381db14
commit 23a0fac973
2 changed files with 138 additions and 45 deletions

View File

@@ -119,8 +119,8 @@ def _run_container(
cmd.extend(["-v", mount])
# Copy the script content and run it
script_path = "install/production-filesystem/entrypoint.d/99-ports-available.sh"
with open(script_path, 'r') as f:
script_path = pathlib.Path("install/production-filesystem/entrypoint.d/99-ports-available.sh")
with script_path.open('r', encoding='utf-8') as f:
script_content = f.read()
# Use printf to avoid shell interpretation issues