Fix gometalinter errors

Also disable test linters since we already run tests.
This commit is contained in:
Luke Kysow
2019-01-15 14:26:22 -05:00
parent 8b77b95a16
commit 501db6b66e
2 changed files with 1 additions and 3 deletions

View File

@@ -18,8 +18,6 @@
"megacheck",
"safesql",
"structcheck",
"test",
"testify",
"unconvert",
"unparam",
"varcheck",

View File

@@ -154,7 +154,7 @@ func (w *FileWorkspace) forceClone(log *logging.SimpleLogger,
}
for _, args := range cmds {
cmd := exec.Command(args[0], args[1:]...)
cmd := exec.Command(args[0], args[1:]...) // nolint: gosec
cmd.Dir = cloneDir
cmdStr := w.cmdAsSanitizedStr(cmd, p.BaseRepo, headRepo)