From 5d69fe9fbd94d42c1d1d30b4942219760459d265 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Tue, 8 Oct 2019 12:20:16 +0100 Subject: [PATCH] Fix bash --- scripts/find-lint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/find-lint.sh b/scripts/find-lint.sh index 9370fcf54..f656aa235 100755 --- a/scripts/find-lint.sh +++ b/scripts/find-lint.sh @@ -32,7 +32,7 @@ go get github.com/golangci/golangci-lint/cmd/golangci-lint # Run linting echo "Looking for lint..." # If we're running in CI, a linting fail should fail the CI step -if [ -n "$CI" ]; then +if [ -n "${CI}" ]; then golangci-lint run $args else # Otherwise continue the script even if linting fails