Skip to content

Commit

Permalink
Migrate import
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklas Nett authored and isimluk committed Oct 3, 2024
1 parent ed9df22 commit 55f1864
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/template/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"fmt"
"go/format"
"io/ioutil"
"io"
"os"
"path/filepath"
"text/template"
Expand Down Expand Up @@ -57,7 +57,7 @@ func newTemplate(outputDir string) (*template.Template, error) {
}
defer in.Close()

tempText, err := ioutil.ReadAll(in)
tempText, err := io.ReadAll(in)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 55f1864

Please sign in to comment.