mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 14:10:31 +03:00
Fix regression with site.IsServer when not running a server
Fixes #11006
This commit is contained in:
parent
99407c39ba
commit
9a235d0afc
10 changed files with 13 additions and 10 deletions
|
@ -327,6 +327,7 @@ func (s *IntegrationTestBuilder) initBuilder() error {
|
|||
if s.Cfg.Running {
|
||||
flags.Set("internal", maps.Params{
|
||||
"running": s.Cfg.Running,
|
||||
"watch": s.Cfg.Running,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue