diff --git a/check/utils.go b/check/utils.go index ed65ac3..ae92001 100644 --- a/check/utils.go +++ b/check/utils.go @@ -361,10 +361,6 @@ func GoTool(dir string, filenames, command []string) (float64, []FileSummary, er params = append(params, dir+"/...") } - if strings.Contains(enabledCheck, "staticcheck") { - params[len(params)-1] = "./..." - } - cmd := exec.Command(command[0], params...) if strings.Contains(enabledCheck, "staticcheck") {