mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
modules: Fix format flag in error
This commit is contained in:
parent
3f00f47535
commit
95818e27dc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue