Skip to content

Commit

Permalink
Merge pull request #7 from l3dlp/patch-1
Browse files Browse the repository at this point in the history
Update strip.go
  • Loading branch information
grokify authored Nov 19, 2023
2 parents 84fecef + 3f86113 commit b3c3e9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions strip.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"fmt"
"html"
"io"
"io/ioutil"
"os"
"path/filepath"
"reflect"
"strings"
Expand Down Expand Up @@ -3554,7 +3554,7 @@ func parseFiles(t *Template, filenames ...string) (*Template, error) {
return nil, fmt.Errorf("html/template: no files named in call to ParseFiles")
}
for _, filename := range filenames {
b, err := ioutil.ReadFile(filename)
b, err := os.ReadFile(filename)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit b3c3e9a

Please sign in to comment.