[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
4c86ee4bff
commit
44e4fe63df
1 changed files with 1 additions and 3 deletions
|
|
@ -637,7 +637,5 @@ def get_github_env_token_status() -> dict:
|
|||
The value is never returned; the UI uses this to tell the user they
|
||||
can leave the token field blank.
|
||||
"""
|
||||
has_token = bool(
|
||||
os.environ.get("GH_TOKEN") or os.environ.get("GITHUB_TOKEN")
|
||||
)
|
||||
has_token = bool(os.environ.get("GH_TOKEN") or os.environ.get("GITHUB_TOKEN"))
|
||||
return {"has_token": has_token}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue