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