From 5fd9270d6ca666be76eba27bb0c5bc0d454cfb01 Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Fri, 27 Apr 2018 14:21:17 -0700 Subject: [PATCH] test: disable SA4004 temporarily Signed-off-by: Gyuho Lee --- test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test b/test index 73535cd00..828f14d86 100755 --- a/test +++ b/test @@ -473,7 +473,7 @@ function staticcheck_pass { if [ -n "${staticcheckResult}" ]; then # TODO: resolve these after go1.8 migration # See https://github.com/dominikh/go-tools/tree/master/cmd/staticcheck - STATIC_CHECK_MASK="SA(1012|1019|2002)" + STATIC_CHECK_MASK="SA(1012|1019|2002|4004)" if echo "${staticcheckResult}" | grep -vE "$STATIC_CHECK_MASK"; then echo -e "staticcheck checking failed:\\n${staticcheckResult}" exit 255