Commit ed99aa92 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

feat(misc): add colors to repo.run_command log

parent 4d807b86c9bd
Pipeline #74356 passed with stage
in 1 minute and 10 seconds
......@@ -293,7 +293,7 @@ class Repository:
f"cd {self.path} && {command}", shell=True
print(f">> {command}")
print(f"\033[1;31m>>\033[0m \033[0;34m{command}\033[0m")
return subprocess.check_call(f"cd {self.path} && {command}", shell=True)
def read_file(self, file_name):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment