fix: Remove extra newlines in error message output
- Modified error message in push_changes() to remove extra newlines - Improved consistency in error message formatting - Simplified stderr output for failed branch determination
This commit is contained in:
parent
c307e1ae43
commit
e36da6da6c
@ -385,7 +385,7 @@ def push_changes():
|
||||
try:
|
||||
current_branch = get_current_branch()
|
||||
if not current_branch:
|
||||
print("Could not determine current branch. Push failed.", end="\n\n", file=sys.stderr, flush=True)
|
||||
print("Could not determine current branch. Push failed.", file=sys.stderr, flush=True)
|
||||
return False
|
||||
|
||||
print(f"Pushing changes to origin/{current_branch}...", end="\n\n", flush=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user