ruderich.org/simon
/
safcm
/
safcm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
006a69a
)
sync: tests: wrap overlong line
author
Simon Ruderich
<simon@ruderich.org>
Sun, 9 May 2021 10:15:42 +0000
(12:15 +0200)
committer
Simon Ruderich
<simon@ruderich.org>
Sun, 9 May 2021 13:15:43 +0000
(15:15 +0200)
cmd/safcm-remote/sync/filetest/filetest.go
patch
|
blob
|
history
diff --git
a/cmd/safcm-remote/sync/filetest/filetest.go
b/cmd/safcm-remote/sync/filetest/filetest.go
index 794e99c88b8a1f5ed03d06fc3e8ec59394f283f6..f0c518c78ede440dbd012aa8815a90ba57f41cdd 100644
(file)
--- a/
cmd/safcm-remote/sync/filetest/filetest.go
+++ b/
cmd/safcm-remote/sync/filetest/filetest.go
@@
-34,7
+34,9
@@
type File struct {
func WalkDir(basePath string) ([]File, error) {
var res []File
- err := filepath.WalkDir(basePath, func(path string, d fs.DirEntry, err error) error {
+ err := filepath.WalkDir(basePath, func(path string,
+ d fs.DirEntry, err error) error {
+
if err != nil {
return err
}