diff options
Diffstat (limited to 'hugolib/page_unwrap.go')
-rw-r--r-- | hugolib/page_unwrap.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/page_unwrap.go b/hugolib/page_unwrap.go index 0e985953b..c3e1ce8dd 100644 --- a/hugolib/page_unwrap.go +++ b/hugolib/page_unwrap.go @@ -14,7 +14,7 @@ package hugolib import ( - "github.com/pkg/errors" + "fmt" "github.com/gohugoio/hugo/resources/page" ) @@ -36,7 +36,7 @@ func unwrapPage(in any) (page.Page, error) { case nil: return nil, nil default: - return nil, errors.Errorf("unwrapPage: %T not supported", in) + return nil, fmt.Errorf("unwrapPage: %T not supported", in) } } |