diff options
author | Oleksandr Redko <Oleksandr_Redko@epam.com> | 2023-05-18 12:20:39 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-05-18 16:26:20 +0200 |
commit | 95818e27dc9276c33b853f16137de356606d9f9f (patch) | |
tree | c9e7704db1068562d7356f3f2d497433a89070a7 | |
parent | 3f00f47535d7b3eef829cda12296ba665dd50a4c (diff) |
modules: Fix format flag in error
-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 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 } } |