summaryrefslogtreecommitdiffstats
path: root/magefile.go
diff options
context:
space:
mode:
Diffstat (limited to 'magefile.go')
-rw-r--r--magefile.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/magefile.go b/magefile.go
index c8f2a048e..f00964cf7 100644
--- a/magefile.go
+++ b/magefile.go
@@ -7,7 +7,7 @@ import (
"bytes"
"errors"
"fmt"
- "io/ioutil"
+ "io"
"os"
"path"
"path/filepath"
@@ -298,7 +298,7 @@ func TestCoverHTML() error {
if err := sh.Run(goexe, "test", "-coverprofile="+cover, "-covermode=count", pkg); err != nil {
return err
}
- b, err := ioutil.ReadFile(cover)
+ b, err := io.ReadFile(cover)
if err != nil {
if os.IsNotExist(err) {
continue