diff options
Diffstat (limited to 'tpl/tplimpl/template.go')
-rw-r--r-- | tpl/tplimpl/template.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tpl/tplimpl/template.go b/tpl/tplimpl/template.go index 9a9e82a80..c01863ebb 100644 --- a/tpl/tplimpl/template.go +++ b/tpl/tplimpl/template.go @@ -20,7 +20,6 @@ import ( "fmt" "io" "io/fs" - "os" "path/filepath" "reflect" "regexp" @@ -824,7 +823,7 @@ func (t *templateHandler) loadTemplates() error { } if err := helpers.SymbolicWalk(t.Layouts.Fs, "", walker); err != nil { - if !os.IsNotExist(err) { + if !herrors.IsNotExist(err) { return err } return nil |