Update go version (#603)

Removed ioctl code and remove exception from lint action
This commit is contained in:
Maycon Santos
2022-12-04 13:22:21 +01:00
committed by GitHub
parent d029136d3d
commit d2d5d4b4b9
14 changed files with 22 additions and 30 deletions

View File

@ -6,7 +6,6 @@ import (
"github.com/stretchr/testify/require"
"golang.org/x/sys/unix"
"io"
"io/ioutil"
"os"
"path/filepath"
"strings"
@ -133,7 +132,7 @@ func resetGlobals() {
func createFiles(t *testing.T) (string, []module) {
writeFile := func(path, text string) {
if err := ioutil.WriteFile(path, []byte(text), 0644); err != nil {
if err := os.WriteFile(path, []byte(text), 0644); err != nil {
t.Fatal(err)
}
}