Add option to keep tmp dir to stubtest script (#12151)

This commit is contained in:
Sebastian Rittau
2024-10-03 04:48:52 +02:00
committed by GitHub
parent 8acc85dbab
commit 26b3c69ee4
3 changed files with 34 additions and 6 deletions

View File

@@ -47,6 +47,10 @@ def print_command(cmd: str | Iterable[str]) -> None:
print(colored(f"Running: {cmd}", "blue"))
def print_info(message: str) -> None:
print(colored(message, "blue"))
def print_error(error: str, end: str = "\n", fix_path: tuple[str, str] = ("", "")) -> None:
error_split = error.split("\n")
old, new = fix_path