mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
Added tests and fix for env file precedence #868
This commit is contained in:
parent
c9bcc1aa57
commit
e36d47cfdb
2 changed files with 24 additions and 30 deletions
|
@ -276,7 +276,7 @@ def load_dotenv_files(git_root, dotenv_fname):
|
|||
for fname in dotenv_files:
|
||||
if Path(fname).exists():
|
||||
loaded.append(fname)
|
||||
load_dotenv(fname)
|
||||
load_dotenv(fname, override=True)
|
||||
return loaded
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue