aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/client.go b/modules/client.go
index c3371e0d4..f358f3f75 100644
--- a/modules/client.go
+++ b/modules/client.go
@@ -325,7 +325,7 @@ func (c *Client) Get(args ...string) error {
return coll.err
}
for _, m := range mc.AllModules {
- if m.Owner() == nil {
+ if m.Owner() == nil || !isProbablyModule(m.Path()) {
continue
}
modules = append(modules, m.Path())