From d7c233afee6a16b1947f60b7e5450e40612997bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 31 Jul 2019 10:31:26 +0200 Subject: commands: Add "hugo config mounts" command This prints the effective file mounts in a project. Fixes #6144 --- modules/collect.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/collect.go') 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...) } -- cgit v1.2.3