Skip to content

Commit 14ca8f2

Browse files
facchinmcmaglie
authored andcommitted
Avoid bailing out if broken symlink is found
This replaces 8bbac23 and solves #159 (again)
1 parent 059c5f8 commit 14ca8f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/arduino.cc/builder/gohasissues/go_has_issues.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ func ReadDir(dirname string) ([]os.FileInfo, error) {
109109
info, err := resolveSymlink(dirname, info)
110110
if err != nil {
111111
// unresolvable symlinks should be skipped silently
112-
return nil, nil
112+
continue
113113
}
114114
infos[idx] = info
115115
}

0 commit comments

Comments
 (0)