aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorOleksandr Redko <[email protected]>2023-05-18 12:20:39 +0300
committerBjørn Erik Pedersen <[email protected]>2023-05-18 16:26:20 +0200
commit95818e27dc9276c33b853f16137de356606d9f9f (patch)
treec9e7704db1068562d7356f3f2d497433a89070a7 /modules
parent3f00f47535d7b3eef829cda12296ba665dd50a4c (diff)
downloadhugo-95818e27dc9276c33b853f16137de356606d9f9f.tar.gz
hugo-95818e27dc9276c33b853f16137de356606d9f9f.zip
modules: Fix format flag in error
Diffstat (limited to 'modules')
-rw-r--r--modules/collect.go2
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
}
}