mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-24 21:56:05 +02:00
@@ -108,6 +108,7 @@ func (p DestinationPublisher) Publish(d Descriptor) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
defer f.Close()
|
||||||
|
|
||||||
_, err = io.Copy(f, src)
|
_, err = io.Copy(f, src)
|
||||||
if err == nil && d.StatCounter != nil {
|
if err == nil && d.StatCounter != nil {
|
||||||
|
Reference in New Issue
Block a user