mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 07:18:54 +00:00
+1
-1
@@ -339,7 +339,7 @@ func (c *collector) addAndRecurse(owner *moduleAdapter, disabled bool) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if tc == nil {
|
||||
if tc == nil || moduleImport.IgnoreImports {
|
||||
continue
|
||||
}
|
||||
if err := c.addAndRecurse(tc, disabled); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user