mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +00:00
fix: Remove unused variable shell_type
This commit is contained in:
parent
347f3fe140
commit
9f3cdf1a94
1 changed files with 0 additions and 1 deletions
|
@ -429,7 +429,6 @@ def find_original_update_blocks(content, fence=DEFAULT_FENCE):
|
||||||
"```tcsh",
|
"```tcsh",
|
||||||
]
|
]
|
||||||
if any(line.strip().startswith(start) for start in shell_starts):
|
if any(line.strip().startswith(start) for start in shell_starts):
|
||||||
shell_type = line.strip().split("```")[1]
|
|
||||||
shell_content = []
|
shell_content = []
|
||||||
i += 1
|
i += 1
|
||||||
while i < len(lines) and not lines[i].strip().startswith("```"):
|
while i < len(lines) and not lines[i].strip().startswith("```"):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue