Skip to content

Commit

Permalink
hugolib: Don't ignore errors from applyDepsIfNeeded
Browse files Browse the repository at this point in the history
  • Loading branch information
n10v authored and bep committed Apr 2, 2017
1 parent 6b29bcc commit 27610dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hugolib/hugo_sites.go
Expand Up @@ -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

Expand Down

0 comments on commit 27610dd

Please sign in to comment.