diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/client.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/client.go b/modules/client.go index 59f6b25d3..5d8daf926 100644 --- a/modules/client.go +++ b/modules/client.go @@ -30,6 +30,7 @@ import ( "github.com/gohugoio/hugo/common/collections" "github.com/gohugoio/hugo/common/herrors" "github.com/gohugoio/hugo/common/hexec" + "github.com/gohugoio/hugo/common/loggers" hglob "github.com/gohugoio/hugo/hugofs/glob" @@ -39,8 +40,6 @@ import ( "github.com/gohugoio/hugo/hugofs/files" - "github.com/gohugoio/hugo/common/loggers" - "github.com/gohugoio/hugo/config" "github.com/rogpeppe/go-internal/module" @@ -98,7 +97,7 @@ func NewClient(cfg ClientConfig) *Client { logger := cfg.Logger if logger == nil { - logger = loggers.NewWarningLogger() + logger = loggers.NewDefault() } var noVendor glob.Glob |