diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-07-31 11:31:26 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-07-31 13:10:05 +0300 |
commit | d7c233afee6a16b1947f60b7e5450e40612997bb (patch) | |
tree | 91c87d17642655308ab9806e5afcb9b77415541f /modules | |
parent | 45ee8a7a52213bf394c7f41a72be78084ddc789a (diff) |
commands: Add "hugo config mounts" command
This prints the effective file mounts in a project.
Fixes #6144
Diffstat (limited to 'modules')
-rw-r--r-- | modules/collect.go | 4 |
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...) } |