mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-29 07:00:31 +03:00
commands: Ignore "module does not exist" errors in hugo mod init
Closes #11458
This commit is contained in:
parent
c260cb28a9
commit
e363964f2f
10 changed files with 92 additions and 50 deletions
|
@ -742,6 +742,9 @@ type ClientConfig struct {
|
|||
// This can be nil.
|
||||
IgnoreVendor glob.Glob
|
||||
|
||||
// Ignore any module not found errors.
|
||||
IgnoreModuleDoesNotExist bool
|
||||
|
||||
// Absolute path to the project dir.
|
||||
WorkingDir string
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue