summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/collect.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/collect.go b/modules/collect.go
index 808353608..9a18f5579 100644
--- a/modules/collect.go
+++ b/modules/collect.go
@@ -478,8 +478,8 @@ func (c *collector) collect() {
return
}
- // Append the project module at the tail.
- c.modules = append(c.modules, projectMod)
+ // Add the project mod on top.
+ c.modules = append(Modules{projectMod}, c.modules...)
}