From 95818e27dc9276c33b853f16137de356606d9f9f Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Thu, 18 May 2023 12:20:39 +0300 Subject: [PATCH] modules: Fix format flag in error --- modules/collect.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/collect.go b/modules/collect.go index 3340b3327..0c578b5db 100644 --- a/modules/collect.go +++ b/modules/collect.go @@ -299,7 +299,7 @@ func (c *collector) add(owner *moduleAdapter, moduleImport Import, disabled bool return nil, nil } if found, _ := afero.Exists(c.fs, moduleDir); !found { - c.err = c.wrapModuleNotFound(fmt.Errorf(`module %q not found in % q; either add it as a Hugo Module or store it in %q.`, modulePath, moduleDir, c.ccfg.ThemesDir)) + c.err = c.wrapModuleNotFound(fmt.Errorf(`module %q not found in %q; either add it as a Hugo Module or store it in %q.`, modulePath, moduleDir, c.ccfg.ThemesDir)) return nil, nil } }