style: Fix linter issues

This commit is contained in:
Paul Gauthier (aider) 2024-08-23 06:39:16 -07:00
parent feae729f98
commit 974b151936

View file

@ -1040,7 +1040,7 @@ class Commands:
# Expand the home directory if the path starts with "~"
expanded_path = os.path.expanduser(word)
abs_path = self.coder.abs_root_path(expanded_path)
if not os.path.exists(abs_path):
self.io.tool_error(f"File not found: {abs_path}")
continue