mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
style: Format code with linter
This commit is contained in:
parent
c503337066
commit
9700bb68d9
1 changed files with 6 additions and 2 deletions
|
@ -595,10 +595,14 @@ class Commands:
|
|||
if self.coder.repo and self.coder.repo.is_tracked_file(matched_file):
|
||||
self.coder.abs_read_only_fnames.remove(abs_file_path)
|
||||
self.coder.abs_fnames.add(abs_file_path)
|
||||
self.io.tool_output(f"Moved {matched_file} from read-only to editable files in the chat")
|
||||
self.io.tool_output(
|
||||
f"Moved {matched_file} from read-only to editable files in the chat"
|
||||
)
|
||||
added_fnames.append(matched_file)
|
||||
else:
|
||||
self.io.tool_error(f"Cannot add {matched_file} as it's not part of the repository")
|
||||
self.io.tool_error(
|
||||
f"Cannot add {matched_file} as it's not part of the repository"
|
||||
)
|
||||
else:
|
||||
if is_image_file(matched_file) and not self.coder.main_model.accepts_images:
|
||||
self.io.tool_error(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue