mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
@@ -354,6 +354,11 @@ func (c *collector) addAndRecurse(owner *moduleAdapter, disabled bool) error {
|
||||
}
|
||||
|
||||
func (c *collector) applyMounts(moduleImport Import, mod *moduleAdapter) error {
|
||||
if moduleImport.NoMounts {
|
||||
mod.mounts = nil
|
||||
return nil
|
||||
}
|
||||
|
||||
mounts := moduleImport.Mounts
|
||||
|
||||
modConfig := mod.Config()
|
||||
|
Reference in New Issue
Block a user