mirror of
https://github.com/gohugoio/hugo.git
synced 2024-07-05 08:42:12 +00:00
hugolib: Don't ignore errors from applyDepsIfNeeded
This commit is contained in:
parent
6b29bccfee
commit
27610ddd01
|
@ -63,7 +63,9 @@ func newHugoSites(cfg deps.DepsCfg, sites ...*Site) (*HugoSites, error) {
|
||||||
// TODO(bep)
|
// TODO(bep)
|
||||||
cfg.Cfg.Set("multilingual", sites[0].multilingualEnabled())
|
cfg.Cfg.Set("multilingual", sites[0].multilingualEnabled())
|
||||||
|
|
||||||
applyDepsIfNeeded(cfg, sites...)
|
if err := applyDepsIfNeeded(cfg, sites...); err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
h.Deps = sites[0].Deps
|
h.Deps = sites[0].Deps
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue