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"
"encoding/json"
"fmt"
"io/ioutil"
"log"
"os"
"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 {
log.Fatal(err)
}