mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
Rework the Destination filesystem to make --renderStaticToDisk work
See #9626
This commit is contained in:
@@ -985,7 +985,5 @@ func newDeps(cfg config.Provider) *deps.Deps {
|
||||
}
|
||||
|
||||
func newTestNs() *Namespace {
|
||||
v := config.New()
|
||||
v.Set("contentDir", "content")
|
||||
return New(newDeps(v))
|
||||
return New(newDeps(config.NewWithTestDefaults()))
|
||||
}
|
||||
|
Reference in New Issue
Block a user