diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/config.go b/modules/config.go index c08d2a4ab..9d516e841 100644 --- a/modules/config.go +++ b/modules/config.go @@ -263,7 +263,7 @@ func decodeConfig(cfg config.Provider, pathReplacements map[string]string) (Conf c.Workspace = filepath.Join(workingDir, c.Workspace) } if _, err := os.Stat(c.Workspace); err != nil { - return c, fmt.Errorf("module workspace %q does not exist", c.Workspace) + return c, fmt.Errorf("module workspace %q does not exist. Check your module.workspace setting (or HUGO_MODULE_WORKSPACE env var).", c.Workspace) } } } |