Jelajahi Sumber

test: disable SA4004 temporarily

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 8 tahun lalu
induk
melakukan
5fd9270d6c
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      test

+ 1 - 1
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