Skip to content

Commit

Permalink
Fix deprecation notice
Browse files Browse the repository at this point in the history
Asterisks needs to be quoted on command line.
  • Loading branch information
bep committed Dec 11, 2021
1 parent 3f0d49e commit 159120c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hugolib/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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", "**")
}

Expand Down

0 comments on commit 159120c

Please sign in to comment.