Skip to content
This repository has been archived by the owner on Feb 4, 2025. It is now read-only.

Commit

Permalink
Merge pull request #359 from tisnik/fixed-gosec
Browse files Browse the repository at this point in the history
Fixed `gosec`
  • Loading branch information
tisnik authored Jun 17, 2022
2 parents 287f2fc + 13261f4 commit 7495f0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gosec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ NC=$(tput sgr0) # No Color

GO_SEC_ARGS=""

if [[ $* != *verbose* ]]; then
if [[ $* != *verbose* ]] && [[ -z "${VERBOSE}" ]]; then
GO_SEC_ARGS="-quiet"
fi

Expand All @@ -31,7 +31,7 @@ echo -e "${BLUE}Security issues detection${NC}"
if ! [ -x "$(command -v gosec)" ]
then
echo -e "${BLUE}Installing ${NC}"
curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b "$(go env GOPATH)/bin"
curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b "$(go env GOPATH)/bin" v2.8.1
# shellcheck disable=SC2181
if [ $? -eq 0 ]
then
Expand Down

0 comments on commit 7495f0d

Please sign in to comment.