diff --git a/coder.py b/coder.py index 8dc381cea..d9d1ff897 100755 --- a/coder.py +++ b/coder.py @@ -96,7 +96,8 @@ class Coder: self.console.print( f"[red bold]Added {relative_fname} to the git repo" ) - commit_message = f"Initial commit: Added new files to the git repo: {', '.join(new_files)}" + show_files = ', '.join(new_files) + commit_message = f"Initial commit: Added new files to the git repo: {show_files}" repo.git.commit("-m", commit_message, "--no-verify") self.console.print( f"[green bold]Committed new files with message: {commit_message}"