mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
hugolib: Don't ignore errors from applyDepsIfNeeded
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
6b29bccfee
commit
27610ddd01
@@ -63,7 +63,9 @@ func newHugoSites(cfg deps.DepsCfg, sites ...*Site) (*HugoSites, error) {
|
||||
// TODO(bep)
|
||||
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
|
||||
|
||||
|
Reference in New Issue
Block a user