Skip to content

Commit 0871513

Browse files
Updated the color code for output
1 parent 7cfae24 commit 0871513

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/alchemy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def autosquash(self, base_branch, head_branch):
123123
exit(1)
124124
print(f"{Fore.GREEN}{Style.BRIGHT}Autosquash Output:{Style.RESET_ALL}")
125125
print(f"{Fore.GREEN}{squash_output.stdout}{Style.RESET_ALL}")
126-
print(f"{Fore.RED}{squash_output.stderr}{Style.RESET_ALL}")
126+
print(f"{Fore.GREEN}{squash_output.stderr}{Style.RESET_ALL}")
127127

128128
subprocess.run(["git", "status"], check=True, text=True, capture_output=True)
129129
subprocess.run(["git", "push", "--force-with-lease", "fork", f"fork/{head_branch}:{head_branch}"], check=True, text=True, capture_output=True)
@@ -154,7 +154,7 @@ def rebase(self, base_branch, head_branch, autosquash):
154154
else:
155155
print(f"{Fore.GREEN}{Style.BRIGHT}Rebase Output:{Style.RESET_ALL}")
156156
print(f"{Fore.GREEN}{rebase_output.stdout}{Style.RESET_ALL}")
157-
print(f"{Fore.RED}{rebase_output.stderr}{Style.RESET_ALL}")
157+
print(f"{Fore.GREEN}{rebase_output.stderr}{Style.RESET_ALL}")
158158

159159
subprocess.run(["git", "status"], check=True, text=True, capture_output=True)
160160
subprocess.run(["git", "push", "--force-with-lease", "fork", f"fork/{head_branch}:{head_branch}"], check=True, text=True, capture_output=True)

0 commit comments

Comments
 (0)