mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-28 22:11:48 -05:00
parent
2182ecfd34
commit
f6ae436c58
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue