mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-08 16:28:54 +00:00
Fix gometalinter errors
Also disable test linters since we already run tests.
This commit is contained in:
@@ -18,8 +18,6 @@
|
||||
"megacheck",
|
||||
"safesql",
|
||||
"structcheck",
|
||||
"test",
|
||||
"testify",
|
||||
"unconvert",
|
||||
"unparam",
|
||||
"varcheck",
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user