mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
Fix deprecation notice
Asterisks needs to be quoted on command line.
This commit is contained in:
parent
3f0d49e502
commit
159120cddd
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ func LoadConfig(d ConfigSourceDescriptor, doWithConfig ...func(cfg config.Provid
|
||||||
// Config deprecations.
|
// Config deprecations.
|
||||||
// We made this a Glob pattern in Hugo 0.75, we don't need both.
|
// We made this a Glob pattern in Hugo 0.75, we don't need both.
|
||||||
if l.cfg.GetBool("ignoreVendor") {
|
if l.cfg.GetBool("ignoreVendor") {
|
||||||
helpers.Deprecated("--ignoreVendor", "--ignoreVendorPaths **", true)
|
helpers.Deprecated("--ignoreVendor", "Use --ignoreVendorPaths \"**\"", true)
|
||||||
l.cfg.Set("ignoreVendorPaths", "**")
|
l.cfg.Set("ignoreVendorPaths", "**")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue