mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 20:14:58 +00:00
1 file changed
+1
@@ -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