Skip to content

Commit 88281a6

Browse files
Remove GitHub token from exception output
Fixes #2
1 parent a5d53b0 commit 88281a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

get_workflow_version/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
import typer
88
from typing_extensions import Annotated
99

10-
app = typer.Typer()
10+
# Do not show locals to avoid displaying `GH_TOKEN`
11+
app = typer.Typer(pretty_exceptions_show_locals=False)
1112

1213

1314
@dataclasses.dataclass(frozen=True)

0 commit comments

Comments
 (0)