diff options
Diffstat (limited to 'tpl/partials/partials.go')
-rw-r--r-- | tpl/partials/partials.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tpl/partials/partials.go b/tpl/partials/partials.go index 3b08604b7..d9a826aa4 100644 --- a/tpl/partials/partials.go +++ b/tpl/partials/partials.go @@ -20,7 +20,6 @@ import ( "fmt" "html/template" "io" - "io/ioutil" "strings" "time" @@ -193,7 +192,7 @@ func (ns *Namespace) include(ctx context.Context, name string, dataList ...any) } // We don't care about any template output. - w = ioutil.Discard + w = io.Discard } else { b := bp.GetBuffer() defer bp.PutBuffer(b) |