ref: 27610ddd011e8172d00e02275f948c3f1ed43e4f
parent: 6b29bccfeec75172bed66285a7d20ff73bd67b25
author: Albert Nigmatzianov <[email protected]>
date: Sun Apr 2 10:50:13 EDT 2017
hugolib: Don't ignore errors from applyDepsIfNeeded
--- a/hugolib/hugo_sites.go
+++ b/hugolib/hugo_sites.go
@@ -63,7 +63,9 @@
// 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