Bump all long-living deprecations to ERRORs

This commit is contained in:
Bjørn Erik Pedersen
2021-07-25 13:34:00 +02:00
parent a352d19d88
commit 91cbb96302
4 changed files with 19 additions and 19 deletions

View File

@@ -109,7 +109,7 @@ func LoadConfig(d ConfigSourceDescriptor, doWithConfig ...func(cfg config.Provid
// We made this a Glob pattern in Hugo 0.75, we don't need both.
if l.cfg.GetBool("ignoreVendor") {
helpers.Deprecated("--ignoreVendor", "--ignoreVendorPaths **", false)
helpers.Deprecated("--ignoreVendor", "--ignoreVendorPaths **", true)
l.cfg.Set("ignoreVendorPaths", "**")
}