mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
style: fix string quote consistency in env setting split
This commit is contained in:
parent
2492f1635c
commit
87a1469c1e
1 changed files with 1 additions and 1 deletions
|
@ -465,7 +465,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
|||
if args.set_env:
|
||||
for env_setting in args.set_env:
|
||||
try:
|
||||
name, value = env_setting.split('=', 1)
|
||||
name, value = env_setting.split("=", 1)
|
||||
os.environ[name.strip()] = value.strip()
|
||||
except ValueError:
|
||||
io.tool_error(f"Invalid --set-env format: {env_setting}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue