mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-14 20:33:59 +02:00
commands: Ignore "module does not exist" errors in hugo mod init
Closes #11458
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user