We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1df5073 commit 9895a5cCopy full SHA for 9895a5c
Makefile
@@ -5,9 +5,6 @@ forcetest:
5
test:
6
HISHTORY_TEST=1 go test -p 1 ./...
7
8
-fuzz:
9
- HISHTORY_TEST=1 go test -p 1 -fuzz=FuzzTestMultipleUsers -run FuzzTestMultipleUsers client/client_test.go
10
-
11
acttest:
12
act push -j test -e .github/push_event.json --reuse --container-architecture linux/amd64
13
client/lib/lib.go
@@ -634,9 +634,13 @@ func copyFile(src, dst string) error {
634
if err != nil {
635
return err
636
}
637
- defer destination.Close()
+
638
_, err = io.Copy(destination, source)
639
- return err
+ if err != nil {
640
+ return err
641
+ }
642
643
+ return destination.Close()
644
645
646
func GetDownloadData() (shared.UpdateInfo, error) {
0 commit comments