Skip to content

Commit

Permalink
invoke format
Browse files Browse the repository at this point in the history
  • Loading branch information
keurfonluu committed Jan 9, 2024
1 parent 01dd216 commit 4e796ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion toughio/_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,9 @@ def run(
is_windows = platform.system().startswith("Win")

if docker:
container_name = container_name if container_name else f"toughio_{secrets.token_hex(4)}"
container_name = (
container_name if container_name else f"toughio_{secrets.token_hex(4)}"
)

if is_windows and os.getenv("ComSpec").endswith("cmd.exe"):
cwd = '"%cd%"'
Expand Down

0 comments on commit 4e796ab

Please sign in to comment.