From 967977d48b4b8107537294b5cd796139ff42e4d7 Mon Sep 17 00:00:00 2001 From: David Poros <david.poros@adevinta.com> Date: Mon, 21 Oct 2019 14:47:47 +0200 Subject: [PATCH] Use staticcheck instead of megacheck because it has been removed --- scripts/lint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lint.sh b/scripts/lint.sh index a48bf6a..48c7853 100755 --- a/scripts/lint.sh +++ b/scripts/lint.sh @@ -19,8 +19,8 @@ echo "golint:" OUT=$(golint $PKG/... 2>&1 | grep --invert-match -E "(/(example|vendor))") if [ -n "$OUT" ]; then echo "$OUT"; PROBLEM=1; fi -echo "megacheck:" -OUT=$(megacheck $PKG/... 2>&1 | grep --invert-match -E "(/(example|vendor))") +echo "staticcheck:" +OUT=$(staticcheck $PKG/... 2>&1 | grep --invert-match -E "(/(example|vendor))") if [ -n "$OUT" ]; then echo "$OUT"; PROBLEM=1; fi if [ -n "$PROBLEM" ]; then exit 1; fi