From: Bjørn Erik Pedersen Date: Sat, 11 Dec 2021 10:54:28 +0000 (+0100) Subject: Fix deprecation notice X-Git-Tag: v0.91.0~16 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=159120cddda176a46246b0b60cc37701644eafd4;p=brevno-suite%2Fhugo Fix deprecation notice Asterisks needs to be quoted on command line. --- diff --git a/hugolib/config.go b/hugolib/config.go index cdce19d6..3b5ade59 100644 --- a/hugolib/config.go +++ b/hugolib/config.go @@ -110,7 +110,7 @@ func LoadConfig(d ConfigSourceDescriptor, doWithConfig ...func(cfg config.Provid // Config deprecations. // We made this a Glob pattern in Hugo 0.75, we don't need both. if l.cfg.GetBool("ignoreVendor") { - helpers.Deprecated("--ignoreVendor", "--ignoreVendorPaths **", true) + helpers.Deprecated("--ignoreVendor", "Use --ignoreVendorPaths \"**\"", true) l.cfg.Set("ignoreVendorPaths", "**") }