Skip to content
This repository was archived by the owner on Apr 14, 2026. It is now read-only.

Commit c174125

Browse files
committed
Fix environment variable docker command generation
1 parent cb8a3e7 commit c174125

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/styxdocker/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,9 @@ def run(
147147
)
148148
)
149149

150-
environ_arg_args: list[str] = [
151-
*(["--env", f"{key}={value}"] for key, value in self.environ.items()) # type: ignore
152-
]
150+
environ_arg_args: list[str] = []
151+
for key, value in self.environ.items():
152+
environ_arg_args.extend(["--env", f"{key}={value}"])
153153

154154
docker_command: list[str] = [
155155
self.docker_executable,

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)