From 00e0fb787000a8c2c98942dfa0ed7fc1d7c418af Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 9 May 2021 12:15:42 +0200 Subject: [PATCH] sync: tests: wrap overlong line --- cmd/safcm-remote/sync/filetest/filetest.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 } -- 2.43.2