Remove semgrep, use errcheck, gosec, govulncheck

This commit is contained in:
eikendev 2023-03-25 23:20:08 +01:00
parent e078a30fe2
commit f251b12fc8
No known key found for this signature in database
GPG key ID: A1BDB1B28C8EF694
19 changed files with 197 additions and 803 deletions

View file

@ -28,7 +28,6 @@ func createFileDir(file string) {
dir := filepath.Dir(file)
if _, err := os.Stat(dir); os.IsNotExist(err) {
// nosemgrep: tests.semgrep-rules.go.lang.correctness.permissions.incorrect-default-permission
if err := os.MkdirAll(dir, 0o750); err != nil {
panic(err)
}