diff --git a/stpkg b/stpkg index 7a8f230ebf1631b0e98d7c1ac74e49789f58952a..875515bb8636d5b38ec061ee4a46c99013decb96 100755 --- a/stpkg +++ b/stpkg @@ -229,9 +229,8 @@ __upload_file() { if [ "x$STPKG_TOKEN" = "x" ]; then read -sp "`__yellow 'Enter your access token:'`" STPKG_TOKEN - echo '' + validate_token # Validate token, will exit if invalid fi - validate_token # Validate token, will exit if invalid # TODO: Use jq here curl -s -X POST -H \ @@ -845,7 +844,7 @@ __pack() { local ST_JSON="" echo "----- Pack -----" - local COLUMN_SEP="|_|_|" + local COLUMN_SEP="ðŸŒ" { for FILE in *; do # Add a ',' only if it's not the first in the array