From e3693978936ada2099648d56233db4e1b2eb07b5 Mon Sep 17 00:00:00 2001 From: Sakshi-dell <75004921+Sakshi-dell@users.noreply.github.com> Date: Wed, 9 Feb 2022 14:28:20 +0530 Subject: [PATCH] check updated for golang 1.17 (#52) --- check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check.sh b/check.sh index cb7c63ff..a3bf91de 100755 --- a/check.sh +++ b/check.sh @@ -36,7 +36,7 @@ echo === Finished echo === Linting... (command -v golint >/dev/null 2>&1 \ - || GO111MODULE=off go get -insecure -u golang.org/x/lint/golint) \ + || GO111MODULE=off GOINSECURE=golang.org go get -u golang.org/x/lint/golint) \ && golint --set_exit_status ./service/... ./common/... LINT_RETURN_CODE=$? echo === Finished