From 383018f3ed171c86078217d1dad366de143f4daa Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Fri, 1 Feb 2019 13:57:41 -0800 Subject: [PATCH] test: change staticcheck code prefix Signed-off-by: Gyuho Lee --- test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test b/test index 910c53afa5f..9249de9055e 100755 --- a/test +++ b/test @@ -472,7 +472,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(1002|1005|1008|1012|1019|1032|2002|4003)" + STATIC_CHECK_MASK="S(A|T)(1002|1005|1008|1012|1019|1032|2002|4003|4006)" if echo "${staticcheckResult}" | grep -vE "$STATIC_CHECK_MASK"; then echo -e "staticcheck checking failed:\\n${staticcheckResult}" exit 255