mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 06:00:25 +03:00
parent
32471b57bd
commit
d90e37e0c6
442 changed files with 1426 additions and 2254 deletions
|
@ -293,7 +293,6 @@ func (r *resourceAdapter) publish() {
|
|||
r.spec.Logger.Errorf("Failed to publish Resource: %s", r.publisherErr)
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
func (r *resourceAdapter) TransformationKey() string {
|
||||
|
@ -397,7 +396,6 @@ func (r *resourceAdapter) transform(publish, setContent bool) error {
|
|||
}
|
||||
|
||||
newErr := func(err error) error {
|
||||
|
||||
msg := fmt.Sprintf("%s: failed to transform %q (%s)", strings.ToUpper(tr.Key().Name), tctx.InPath, tctx.InMediaType.Type())
|
||||
|
||||
if err == herrors.ErrFeatureNotAvailable {
|
||||
|
@ -416,7 +414,6 @@ func (r *resourceAdapter) transform(publish, setContent bool) error {
|
|||
}
|
||||
|
||||
return errors.Wrap(err, msg)
|
||||
|
||||
}
|
||||
|
||||
var tryFileCache bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue