Other: Update golangci-lint to v1.50.0

This commit is contained in:
Leander Beernaert
2022-10-17 11:02:56 +02:00
parent e0603f741f
commit 9d800324af
70 changed files with 247 additions and 277 deletions

View File

@ -18,7 +18,6 @@
package files
import (
"io/ioutil"
"os"
"path/filepath"
"testing"
@ -93,7 +92,7 @@ func TestRemoveWithExceptions(t *testing.T) {
}
func newTestDir(t *testing.T, subdirs ...string) string {
dir, err := ioutil.TempDir("", "test-files-dir")
dir, err := os.MkdirTemp("", "test-files-dir")
require.NoError(t, err)
for _, target := range subdirs {