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 {
|
||||
return err
|
||||
}
|
||||
defer f.Close()
|
||||
|
||||
_, err = io.Copy(f, src)
|
||||
if err == nil && d.StatCounter != nil {
|
||||
|
Reference in New Issue
Block a user