diff options
Diffstat (limited to 'langs/config.go')
-rw-r--r-- | langs/config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/langs/config.go b/langs/config.go index ef63e700e..81e6fc2ab 100644 --- a/langs/config.go +++ b/langs/config.go @@ -23,7 +23,7 @@ import ( "github.com/spf13/cast" - "github.com/pkg/errors" + "errors" "github.com/gohugoio/hugo/config" ) @@ -72,7 +72,7 @@ func LoadLanguageSettings(cfg config.Provider, oldLangs Languages) (c LanguagesC } else { languages2, err = toSortedLanguages(cfg, languages) if err != nil { - return c, errors.Wrap(err, "Failed to parse multilingual config") + return c, fmt.Errorf("Failed to parse multilingual config: %w", err) } } |