all: Propagate baseURL error to the callers

This commit is contained in:
Bjørn Erik Pedersen
2017-03-25 14:37:04 +01:00
parent 148fedd227
commit 15b64d51da
18 changed files with 124 additions and 47 deletions

View File

@@ -8,7 +8,8 @@ import (
func newTestPathSpec(fs *hugofs.Fs, v *viper.Viper) *PathSpec {
l := NewDefaultLanguage(v)
return NewPathSpec(fs, l)
ps, _ := NewPathSpec(fs, l)
return ps
}
func newTestDefaultPathSpec(configKeyValues ...interface{}) *PathSpec {