diff --git a/coder.py b/coder.py index 845f0f37a..d6c58ba3a 100755 --- a/coder.py +++ b/coder.py @@ -551,9 +551,8 @@ class Coder: self.console.print(f"[red]Suggested commit message:\n{commit_message}\n") res = Prompt.ask( - "[red]Commit before the chat proceeds? \[y/n/commit message]" + "[red]Commit before the chat proceeds? \[y/n/commit message]" # noqa: W605 ).strip() - if res.lower() in ["n", "no"]: self.console.print("[red]Skipped commmit.") return @@ -618,4 +617,4 @@ def main(): if __name__ == "__main__": status = main() - sys.exit(status) + sys.exit(status) \ No newline at end of file