diff options
Diffstat (limited to 'modules/collect.go')
-rw-r--r-- | modules/collect.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/collect.go b/modules/collect.go index f87ed2484..b82d395fd 100644 --- a/modules/collect.go +++ b/modules/collect.go @@ -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 { |