diff --git a/commands/hugo.go b/commands/hugo.go index a8dc87785..435f66af1 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -56,7 +56,7 @@ var Hugo *hugolib.HugoSites // Reset resets Hugo ready for a new full build. This is mainly only useful // for benchmark testing etc. via the CLI commands. func Reset() error { - MainSite = nil + Hugo = nil viper.Reset() return nil }