Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5da1cb0

Browse files
authored
👷 Fix Typer command for CI LLM translations (#14530)
1 parent f9397e9 commit 5da1cb0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/translate.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ def list_all_removable() -> list[Path]:
914914

915915

916916
@app.command()
917-
def remove_removable(language: str) -> None:
917+
def remove_removable(language: Annotated[str, typer.Option(envvar="LANGUAGE")]) -> None:
918918
removable_paths = list_removable(language)
919919
for path in removable_paths:
920920
path.unlink()

0 commit comments

Comments
 (0)