Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Commit cbdec70

Browse files
committed
Update CLI to reflect correct number of files committed 📝
1 parent 60c573f commit cbdec70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aicodebot/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def commit(verbose, max_tokens, yes):
113113
if yes or click.confirm("Do you want to commit the changes?"):
114114
# Commit the changes using the temporary file for the commit message
115115
exec_and_get_output(["git", "commit", "-a", "-F", temp_file_name])
116-
console.print(f"✅ {len(files)} files committed.")
116+
console.print(f"✅ {len(files.splitlines())} files committed.")
117117

118118
# Delete the temporary file
119119
Path.unlink(temp_file_name)

0 commit comments

Comments
 (0)