mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
all: Refactor to non-global logger
Note that this looks like overkill for just the logger, and that is correct, but this will make sense once we start with the template handling etc. Updates #2701
This commit is contained in:
@@ -168,7 +168,7 @@ Site Colors: {{ .Site.Params.COLOR }}|{{ .Site.Params.COLORS.YELLOW }}
|
||||
t.Fatalf("Failed to load config: %s", err)
|
||||
}
|
||||
|
||||
sites, err := NewHugoSitesFromConfiguration()
|
||||
sites, err := NewHugoSitesFromConfiguration(DepsCfg{})
|
||||
|
||||
if err != nil {
|
||||
t.Fatalf("Failed to create sites: %s", err)
|
||||
@@ -267,7 +267,7 @@ p
|
||||
t.Fatalf("Failed to load config: %s", err)
|
||||
}
|
||||
|
||||
sites, err := NewHugoSitesFromConfiguration()
|
||||
sites, err := NewHugoSitesFromConfiguration(DepsCfg{})
|
||||
|
||||
if err != nil {
|
||||
t.Fatalf("Failed to create sites: %s", err)
|
||||
|
Reference in New Issue
Block a user