mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-24 16:51:47 +00:00
config: Set HUGO_ENABLEGITINFO=false override in Set_in_string
This allows TestLoadConfigWithOsEnvOverrides/Set_in_string to PASS even if there is no .git directory, e.g. during Debian package build.
This commit is contained in:
parent
471ed91c60
commit
355ff83e74
1 changed files with 1 additions and 0 deletions
|
@ -742,6 +742,7 @@ theme_param="themevalue2"
|
|||
b := newB(c)
|
||||
|
||||
b.WithEnviron(
|
||||
"HUGO_ENABLEGITINFO", "false",
|
||||
// imaging.anchor is a string, and it's not possible
|
||||
// to set a child attribute.
|
||||
"HUGO_IMAGING_ANCHOR_FOO", "top",
|
||||
|
|
Loading…
Reference in a new issue