aboutsummaryrefslogtreecommitdiffhomepage
path: root/langs
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2023-05-20 15:04:22 +0200
committerBjørn Erik Pedersen <[email protected]>2023-05-20 17:45:56 +0200
commit7c7baa618325cb3d2b1ef48bdc1f97aae25f62e9 (patch)
treef80cd6e57e2f9dcb07ceae3e7c022f41d4076bfe /langs
parent4f085e80da9a415725db3def70e5ce847cf06741 (diff)
downloadhugo-7c7baa618325cb3d2b1ef48bdc1f97aae25f62e9.tar.gz
hugo-7c7baa618325cb3d2b1ef48bdc1f97aae25f62e9.zip
Add hugo.WorkingDir
Fixes #10969
Diffstat (limited to 'langs')
-rw-r--r--langs/i18n/i18n_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/langs/i18n/i18n_test.go b/langs/i18n/i18n_test.go
index 491ae3373..1ac6144dd 100644
--- a/langs/i18n/i18n_test.go
+++ b/langs/i18n/i18n_test.go
@@ -480,7 +480,7 @@ func prepareDeps(afs afero.Fs, cfg config.Provider) (*deps.Deps, *TranslationPro
translationProvider := NewTranslationProvider()
d.TemplateProvider = tplimpl.DefaultTemplateProvider
d.TranslationProvider = translationProvider
- d.Site = page.NewDummyHugoSite(cfg)
+ d.Site = page.NewDummyHugoSite(d.Conf)
if err := d.Compile(nil); err != nil {
panic(err)
}