wip: Refactor console message for uncommitted changes in coder.py.

This commit is contained in:
Paul Gauthier 2023-05-11 09:26:55 -07:00
parent 23a0339a15
commit 0434f71c9f

View file

@ -493,7 +493,10 @@ class Coder:
commit_message = prefix + commit_message
if ask:
self.console.print("[bright_black]Files have uncommitted changes.\n")
if which == "repo_files":
self.console.print("[bright_black]Git repo has uncommitted changes.\n")
else:
self.console.print("[bright_black]Files have uncommitted changes.\n")
self.console.print(f"[bright_black]Suggested commit message:\n{commit_message}\n")
res = Prompt.ask(