From fdfa4a5fe62232f65f1dd8d6fe0c500374228788 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 21 Oct 2020 11:17:48 +0200 Subject: Allow getJSON errors to be ignored This change is mostly motivated to get a more stable CI build (we're building the Hugo site there, with Instagram and Twitter shortcodes sometimes failing). Fixes #7866 --- hugolib/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hugolib/config.go') diff --git a/hugolib/config.go b/hugolib/config.go index cab2013ca..7500dfc72 100644 --- a/hugolib/config.go +++ b/hugolib/config.go @@ -74,7 +74,7 @@ func loadSiteConfig(cfg config.Provider) (scfg SiteConfig, err error) { // ConfigSourceDescriptor describes where to find the config (e.g. config.toml etc.). type ConfigSourceDescriptor struct { Fs afero.Fs - Logger *loggers.Logger + Logger loggers.Logger // Path to the config file to use, e.g. /my/project/config.toml Filename string -- cgit v1.2.3