mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 19:24:38 -04:00
parent
2182ecfd34
commit
f6ae436c58
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user