Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sivchari committed Sep 16, 2021
1 parent 01c2f80 commit 3a514ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tenv.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package tenv

import (
"go/ast"
"io/ioutil"
"log"
"os"
"strconv"
"strings"

Expand Down Expand Up @@ -193,7 +193,7 @@ func checkGenDecl(pass *analysis.Pass, decl *ast.GenDecl) {
}

func checkVersion() bool {
data, err := os.ReadFile("go.mod")
data, err := ioutil.ReadFile("go.mod")
if err != nil {
log.Printf("read go.mod error: %v", err)
return false
Expand Down

0 comments on commit 3a514ea

Please sign in to comment.