From: Cameron Moore Date: Tue, 28 Aug 2018 20:43:42 +0000 (-0500) Subject: hugolib: Fix typo in private func name X-Git-Tag: v0.49~68 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c915d0d3252007d61b680a388dcbe6b035d0adc8;p=brevno-suite%2Fhugo hugolib: Fix typo in private func name --- diff --git a/hugolib/paths/themes.go b/hugolib/paths/themes.go index abe6121a..c6dae5e6 100644 --- a/hugolib/paths/themes.go +++ b/hugolib/paths/themes.go @@ -60,7 +60,7 @@ func (c *themesCollector) addAndRecurse(themes ...string) error { if err != nil { return err } - if err := c.addTemeNamesFromTheme(tc); err != nil { + if err := c.addThemeNamesFromTheme(tc); err != nil { return err } } @@ -145,7 +145,7 @@ func (c *themesCollector) getConfigFileIfProvided(theme string) string { } -func (c *themesCollector) addTemeNamesFromTheme(theme ThemeConfig) error { +func (c *themesCollector) addThemeNamesFromTheme(theme ThemeConfig) error { if theme.Cfg != nil && theme.Cfg.IsSet("theme") { v := theme.Cfg.Get("theme") switch vv := v.(type) {