Skip to content

Commit 208b63f

Browse files
committed
mv shared-functions.sh{.templ,}
1 parent 5a619e0 commit 208b63f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/ec2_gha/start.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,9 @@ def _build_user_data(self, **kwargs) -> str:
227227
kwargs['log_prefix_job_started'] = LOG_PREFIX_JOB_STARTED
228228
kwargs['log_prefix_job_completed'] = LOG_PREFIX_JOB_COMPLETED
229229

230-
# Load shared functions template - don't render it, just include as-is
231-
shared_functions_template = importlib.resources.files("ec2_gha").joinpath("templates/shared-functions.sh.templ")
232-
with shared_functions_template.open() as f:
230+
# Load shared functions script - not a template, just include as-is
231+
shared_functions_file = importlib.resources.files("ec2_gha").joinpath("templates/shared-functions.sh")
232+
with shared_functions_file.open() as f:
233233
shared_functions_content = f.read()
234234

235235
# Strip the shebang line from shared functions since it will be embedded
File renamed without changes.

0 commit comments

Comments
 (0)