diff options
author | Bjørn Erik Pedersen <[email protected]> | 2023-05-18 13:29:33 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2023-05-18 15:38:25 +0200 |
commit | 3f00f47535d7b3eef829cda12296ba665dd50a4c (patch) | |
tree | 7967f7f68f3551cc1e58f739672cb74964097029 /modules | |
parent | 834b3d7e41d42a97df58804e3e6ed4d5ed596efc (diff) | |
download | hugo-3f00f47535d7b3eef829cda12296ba665dd50a4c.tar.gz hugo-3f00f47535d7b3eef829cda12296ba665dd50a4c.zip |
commands: Load config before creating the filesystem
To allow publishDir to be set in config file.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/collect.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/collect.go b/modules/collect.go index c69e7e7ee..3340b3327 100644 --- a/modules/collect.go +++ b/modules/collect.go @@ -347,7 +347,7 @@ func (c *collector) addAndRecurse(owner *moduleAdapter, disabled bool) error { moduleConfig := owner.Config() if owner.projectMod { if err := c.applyMounts(Import{}, owner); err != nil { - return fmt.Errorf("failed to apply mounts for project module: %w", err) + return fmt.Errorf("failed to apply mounts for project: %w", err) } } |