Remove stale SC2034 suppressions now that GITEA_API/owner/repo are used
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
set -euo pipefail
|
||||
|
||||
GITEA_SSH_HOST="gitbox.bradina.localdomain"
|
||||
# shellcheck disable=SC2034
|
||||
GITEA_API="https://gitbox.branderson.io/api/v1"
|
||||
|
||||
function usage() {
|
||||
@@ -47,9 +46,7 @@ case "$subcommand" in
|
||||
create|comments|merge)
|
||||
require_token
|
||||
owner_repo=$(gitea_owner_repo)
|
||||
# shellcheck disable=SC2034
|
||||
owner="${owner_repo%%/*}"
|
||||
# shellcheck disable=SC2034
|
||||
repo="${owner_repo##*/}"
|
||||
;;
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user