mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 18:54:59 +00:00
refactor: simplify file change output format
This commit is contained in:
parent
893f3f343f
commit
e239304d89
1 changed files with 1 additions and 2 deletions
|
@ -122,9 +122,8 @@ def main():
|
||||||
for changed_files in watch_source_files(
|
for changed_files in watch_source_files(
|
||||||
directory, args.gitignore, ignore_func=ignore_test_files
|
directory, args.gitignore, ignore_func=ignore_test_files
|
||||||
):
|
):
|
||||||
print("\nChanged files:")
|
|
||||||
for file in sorted(changed_files):
|
for file in sorted(changed_files):
|
||||||
print(f" {file}")
|
print(file)
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
print("\nStopped watching files")
|
print("\nStopped watching files")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue