commands: Ignore "module does not exist" errors in hugo mod init

Closes #11458
This commit is contained in:
Bjørn Erik Pedersen 2024-09-19 10:53:39 +02:00
parent c260cb28a9
commit e363964f2f
10 changed files with 92 additions and 50 deletions

View file

@ -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