Skip to content

Commit

Permalink
Fix site reset for benchmarks etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
bep authored and tychoish committed Aug 13, 2017
1 parent 69fd52e commit 77bae7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hugolib/site.go
Expand Up @@ -112,7 +112,7 @@ type Site struct {

// reset returns a new Site prepared for rebuild.
func (s *Site) reset() *Site {
return &Site{Language: s.Language}
return &Site{Language: s.Language, owner: s.owner}
}

// newSite creates a new site in the given language.
Expand Down

0 comments on commit 77bae7c

Please sign in to comment.