From f9d211a18e8f5f9f28edf505fd8142c0fcc7df9a Mon Sep 17 00:00:00 2001 From: salixor <salixor@pm.me> Date: Sat, 30 Sep 2023 14:46:53 +0000 Subject: [PATCH] Validate token before proceeding with operations as it may have expired --- stpkg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stpkg b/stpkg index eccd0e2..b8c1278 100755 --- a/stpkg +++ b/stpkg @@ -941,6 +941,9 @@ __do_command() { shift 2 fi + if [[ "$STPKG_TOKEN" != "" ]]; then + validate_token + fi local PARSE_FLAGS=1 while [ $PARSE_FLAGS -eq 1 ]; do -- GitLab