projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b29bcc
)
hugolib: Don't ignore errors from applyDepsIfNeeded
author
Albert Nigmatzianov
<albertnigma@gmail.com>
Sun, 2 Apr 2017 12:50:13 +0000
(14:50 +0200)
committer
Bjørn Erik Pedersen
<bjorn.erik.pedersen@gmail.com>
Sun, 2 Apr 2017 16:43:32 +0000
(18:43 +0200)
hugolib/hugo_sites.go
patch
|
blob
|
history
diff --git
a/hugolib/hugo_sites.go
b/hugolib/hugo_sites.go
index 6c737f65af2919a58058ce6c754f834d4b32a7b4..2682e524dfbdd5cd07db99b169dbc79ce6bd0237 100644
(file)
--- a/
hugolib/hugo_sites.go
+++ b/
hugolib/hugo_sites.go
@@
-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