Skip to content

Commit

Permalink
More informative output on token check
Browse files Browse the repository at this point in the history
At least one user was confused thinking PSBS was telling them they HAD to use gh-cli to provide a token; changed one message to hopefully make this more clear
  • Loading branch information
jcmiller11 committed Sep 7, 2023
1 parent 4b28498 commit 028cbc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psbs/token.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def get_token(verbose=False):
# Attempt to retrieve a token using gh-cli
try:
if verbose:
print("Reading token from gh-cli")
print("No saved token, attempting to read token from gh-cli")
token = subprocess.check_output(
["gh", "auth", "token"], text=True
).strip()
Expand Down

0 comments on commit 028cbc6

Please sign in to comment.