aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/build/cuttlefish.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/build/cuttlefish.go')
-rw-r--r--pkg/build/cuttlefish.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/build/cuttlefish.go b/pkg/build/cuttlefish.go
index 42ec8af26..3777467a8 100644
--- a/pkg/build/cuttlefish.go
+++ b/pkg/build/cuttlefish.go
@@ -7,7 +7,7 @@ import (
"archive/tar"
"compress/gzip"
"fmt"
- "io/ioutil"
+ "io"
"os"
"path/filepath"
"strings"
@@ -58,7 +58,7 @@ func (c cuttlefish) readCompiler(archivePath string) (string, error) {
h, err := tr.Next()
for ; err == nil; h, err = tr.Next() {
if filepath.Base(h.Name) == "compile.h" {
- bytes, err := ioutil.ReadAll(tr)
+ bytes, err := io.ReadAll(tr)
if err != nil {
return "", err
}