chore: rm ioutil from cmd

This commit is contained in:
Oscar Guertler
2024-08-31 20:26:13 +02:00
parent ed373709d8
commit 5543143027

View File

@@ -20,7 +20,6 @@ import (
"bytes" "bytes"
"encoding/json" "encoding/json"
"fmt" "fmt"
"io/ioutil"
"log" "log"
"os" "os"
"os/exec" "os/exec"
@@ -275,7 +274,7 @@ func main() {
} }
} }
vendorModulesTxt, err := ioutil.ReadFile("vendor/modules.txt") vendorModulesTxt, err := os.ReadFile("vendor/modules.txt")
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)
} }