mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
hugolib: Simplify some code
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
0665a3951b
commit
e38e881248
@@ -580,10 +580,8 @@ func testAllMarkdownEnginesForPages(t *testing.T,
|
||||
|
||||
cfg, fs := newTestCfg()
|
||||
|
||||
if settings != nil {
|
||||
for k, v := range settings {
|
||||
cfg.Set(k, v)
|
||||
}
|
||||
for k, v := range settings {
|
||||
cfg.Set(k, v)
|
||||
}
|
||||
|
||||
contentDir := "content"
|
||||
|
Reference in New Issue
Block a user