mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
Use cwd if no files provided
This commit is contained in:
parent
6e1282202d
commit
fb04016ec9
1 changed files with 3 additions and 0 deletions
|
@ -65,6 +65,9 @@ class Coder:
|
|||
self.console.print(f"[red]Common root directory: {self.root}")
|
||||
|
||||
def set_repo(self, cmd_line_fnames):
|
||||
if not cmd_line_fnames:
|
||||
cmd_line_fnames = ["."]
|
||||
|
||||
abs_fnames = [Path(fn).resolve() for fn in cmd_line_fnames]
|
||||
|
||||
repo_paths = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue