summaryrefslogtreecommitdiffstats
path: root/modules/collect.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-07-31 10:31:26 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-07-31 12:10:05 +0200
commitd7c233afee6a16b1947f60b7e5450e40612997bb (patch)
tree91c87d17642655308ab9806e5afcb9b77415541f /modules/collect.go
parent45ee8a7a52213bf394c7f41a72be78084ddc789a (diff)
commands: Add "hugo config mounts" command
This prints the effective file mounts in a project. Fixes #6144
Diffstat (limited to 'modules/collect.go')
-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...)
}