aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/config.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2021-12-11 11:54:28 +0100
committerBjørn Erik Pedersen <[email protected]>2021-12-11 11:54:28 +0100
commit159120cddda176a46246b0b60cc37701644eafd4 (patch)
treebe491988ab26cc698807dc29da4c0bb34110af9c /hugolib/config.go
parent3f0d49e5025b630779bb14ab977e5e14e962a695 (diff)
downloadhugo-159120cddda176a46246b0b60cc37701644eafd4.tar.gz
hugo-159120cddda176a46246b0b60cc37701644eafd4.zip
Fix deprecation notice
Asterisks needs to be quoted on command line.
Diffstat (limited to 'hugolib/config.go')
-rw-r--r--hugolib/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/config.go b/hugolib/config.go
index cdce19d6e..3b5ade598 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", "**")
}