mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
feat: Add skip mechanism for existing tags.scm files in language download script
This commit is contained in:
parent
e15518dd29
commit
2d843f6e79
1 changed files with 6 additions and 0 deletions
|
@ -96,6 +96,12 @@ def main():
|
|||
queries_dir = os.path.join(lang_dir, "queries")
|
||||
os.makedirs(queries_dir, exist_ok=True)
|
||||
output_file = os.path.join(queries_dir, "tags.scm")
|
||||
|
||||
# Skip if file already exists
|
||||
if os.path.exists(output_file):
|
||||
print(f"Skipping {lang}: tags.scm already exists")
|
||||
successes += 1
|
||||
continue
|
||||
|
||||
# Try branches in this order:
|
||||
# 1. Branch specified in the config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue