Skip to content

Commit

Permalink
Replace deprecated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Oct 1, 2024
1 parent 87bbd9c commit 41df89e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (
"fmt"
"go/build"
"html/template"
"io/ioutil"
"math"
"os"
"path/filepath"
Expand Down Expand Up @@ -417,7 +416,7 @@ func getSourceData(file string) ([]byte, error) {
return nil, err
}

return ioutil.ReadFile(srcFile)
return os.ReadFile(srcFile)
}

// getCoverageColors generates CSS with colors for different coverage levels
Expand Down

0 comments on commit 41df89e

Please sign in to comment.