From: Simon Ruderich Date: Sun, 9 May 2021 10:15:42 +0000 (+0200) Subject: sync: tests: wrap overlong line X-Git-Url: https://ruderich.org/simon/gitweb/?p=safcm%2Fsafcm.git;a=commitdiff_plain;h=00e0fb787000a8c2c98942dfa0ed7fc1d7c418af sync: tests: wrap overlong line --- diff --git a/cmd/safcm-remote/sync/filetest/filetest.go b/cmd/safcm-remote/sync/filetest/filetest.go index 794e99c..f0c518c 100644 --- 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 }