We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 174cfb3 commit bfd06f8Copy full SHA for bfd06f8
1 file changed
filehandling.go
@@ -54,6 +54,10 @@ func searchFilesInPath(path string, callback func(os.FileInfo, string)) {
54
55
// collect all files
56
err := filepath.Walk(path, func(path string, f os.FileInfo, err error) error {
57
+ if err != nil {
58
+ return err
59
+ }
60
+
61
filename := f.Name()
62
63
// skip directories
0 commit comments