fix: Remove unused variable shell_type

This commit is contained in:
Paul Gauthier (aider) 2024-08-20 17:04:34 -07:00
parent 347f3fe140
commit 9f3cdf1a94

View file

@ -429,7 +429,6 @@ def find_original_update_blocks(content, fence=DEFAULT_FENCE):
"```tcsh",
]
if any(line.strip().startswith(start) for start in shell_starts):
shell_type = line.strip().split("```")[1]
shell_content = []
i += 1
while i < len(lines) and not lines[i].strip().startswith("```"):