mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
hugolib: Handle dropped error
This commit is contained in:
parent
65871d5cf4
commit
a7b93e6564
1 changed files with 3 additions and 1 deletions
|
@ -195,7 +195,9 @@ func NewHugoSites(cfg deps.DepsCfg) (*HugoSites, error) {
|
|||
|
||||
s.PageCollections = newPageCollections(pm)
|
||||
s.siteRefLinker, err = newSiteRefLinker(s)
|
||||
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
// Set up the main publishing chain.
|
||||
pub, err := publisher.NewDestinationPublisher(
|
||||
firstSiteDeps.ResourceSpec,
|
||||
|
|
Loading…
Reference in a new issue