Browse Source

👷 Fix Typer command for CI LLM translations (#14530)

pull/14531/head
Sebastián Ramírez 6 months ago
committed by GitHub
parent
commit
5da1cb0792
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      scripts/translate.py

2
scripts/translate.py

@ -914,7 +914,7 @@ def list_all_removable() -> list[Path]:
@app.command()
def remove_removable(language: str) -> None:
def remove_removable(language: Annotated[str, typer.Option(envvar="LANGUAGE")]) -> None:
removable_paths = list_removable(language)
for path in removable_paths:
path.unlink()

Loading…
Cancel
Save