Remove warning about deprevated ioutil

This commit is contained in:
Mikhail f. Shiryaev 2024-05-08 21:27:39 +02:00
parent 91fdec5da1
commit 06b49a93b0
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4
1 changed files with 1 additions and 2 deletions

View File

@ -4,7 +4,6 @@ import (
"fmt"
"io"
"io/fs"
"io/ioutil"
"os"
"os/exec"
"path"
@ -242,7 +241,7 @@ func (r Repo) fetchGitRepo(arch string, entry *manifest.Manifest2822Entry) (stri
return "", err
}
tempRefDir, err := ioutil.TempDir(refBaseDir, "temp")
tempRefDir, err := os.MkdirTemp(refBaseDir, "temp")
if err != nil {
return "", err
}