From 028cbc6dc7b2664e60686595df5a426e13c078d0 Mon Sep 17 00:00:00 2001 From: John C Miller Date: Thu, 7 Sep 2023 08:48:47 -0400 Subject: [PATCH] More informative output on token check 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 --- psbs/token.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psbs/token.py b/psbs/token.py index b12779e..bf4bd4a 100644 --- a/psbs/token.py +++ b/psbs/token.py @@ -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()