mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-19 21:21:39 +02:00
modules: Fix format flag in error
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
3f00f47535
commit
95818e27dc
@@ -299,7 +299,7 @@ func (c *collector) add(owner *moduleAdapter, moduleImport Import, disabled bool
|
|||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
if found, _ := afero.Exists(c.fs, moduleDir); !found {
|
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
|
return nil, nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user