Преглед изворни кода

build: Disable seemingly buggy staticcheck warning

Jakob Borg пре 8 година
родитељ
комит
4e3fdfaeef
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      build.go

+ 1 - 0
build.go

@@ -184,6 +184,7 @@ var (
 		"cli.Requires composite literal uses unkeyed fields",
 		"Use DialContext instead",   // Go 1.7
 		"os.SEEK_SET is deprecated", // Go 1.7
+		"SA4017",                    // staticcheck "is a pure function but its return value is ignored"
 	}
 )