hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 159120cddda176a46246b0b60cc37701644eafd4
parent 3f0d49e5025b630779bb14ab977e5e14e962a695
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sat, 11 Dec 2021 11:54:28 +0100

Fix deprecation notice

Asterisks needs to be quoted on command line.

Diffstat:
Mhugolib/config.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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", "**")
 	}