From 9225a765b8a3595bcfd764f92a1a0022e696b2ab Mon Sep 17 00:00:00 2001 From: Quentin Brosse Date: Fri, 24 Jan 2020 16:20:48 +0100 Subject: [PATCH] fix(scripts): golangci-lint binary installation test --- scripts/lint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lint.sh b/scripts/lint.sh index 16f40ceca..aa248b0ec 100755 --- a/scripts/lint.sh +++ b/scripts/lint.sh @@ -74,7 +74,7 @@ done ## # Check golangci-lint command existence ## -if [ -x "$(command -v golangci-lint)" ]; +if [ ! -x "$(command -v golangci-lint)" ]; then echo "golangci-lint is not installed" echo "On macOS, you can run: brew install golangci/tap/golangci-lint"