Skip to content

Commit

Permalink
\\n bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jasursadikov committed Sep 10, 2024
1 parent 29c23e6 commit 60f9c5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,9 @@ async def _run_process(self, repo_path: str, table: Dict[str, List[str]], comman
return_code = await process.wait()

if return_code == 0:
status = f'{GREEN}{utils.GLYPHS["finished"]}{RESET} {stdout.decode().replace("\n", " ")}'
status = f'{GREEN}{utils.GLYPHS["finished"]}{RESET} {stdout.decode().replace("\\n", " ")}'
else:
status = f'{RED}{utils.GLYPHS["failed"]} Code: {return_code}{RESET} {stderr.decode().replace("\n", " ")}'
status = f'{RED}{utils.GLYPHS["failed"]} Code: {return_code}{RESET} {stderr.decode().replace("\\n", " ")}'

table[repo_path] = [table[repo_path][0], status]
self._print_process(table)
Expand Down

0 comments on commit 60f9c5f

Please sign in to comment.