hugolib: Handle dropped error

This commit is contained in:
Lars Lehtonen 2023-08-24 09:57:44 -07:00 committed by GitHub
parent 65871d5cf4
commit a7b93e6564
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,