Skip to content
Snippets Groups Projects
Commit d0f7e65e authored by Christian Dreher's avatar Christian Dreher
Browse files

fix: Minor space typo.

parent 3ec8042a
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@ def print_full_width_heading(text: str, sep_color="white", indentation=3):
console.print(f"[{sep_color}]┏{'' * (term_width - 2)}")
console.print(f"[{sep_color}]┠{'' * indentation}[/] {text} [{sep_color}]{'' * (term_width - (indentation + 2) - text_width - 2)}┨[/]")
console.print(f"[{sep_color}]┗{'' * (term_width - 2)}")
console.print("Visit my [link=https://www.willmcgugan.com]blog[/link]!")
def prompt_options(
......
......@@ -7,7 +7,7 @@ from armarx_setup import console
def run(cmd, cwd=None, capture_output=False, quiet=False):
in_cwd = "" if cwd is None else f"in '{cwd}'"
in_cwd = "" if cwd is None else f" in '{cwd}'"
if not quiet:
console.print(f"\tRun '{cmd}'{in_cwd} ...")
......@@ -20,7 +20,7 @@ def run(cmd, cwd=None, capture_output=False, quiet=False):
r = subprocess.run(cmd, **kwargs)
if r.returncode != 0:
raise error.CommandFailed(cmd=cmd, msg=f"with return code {r.returncode} {in_cwd}.",
raise error.CommandFailed(cmd=cmd, msg=f"with return code {r.returncode}{in_cwd}.",
stderr=r.stderr.decode().strip() if capture_output else None)
if capture_output:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment