Skip to content

Commit 9241b67

Browse files
committed
Avoid bailing out if broken symlink is found
This replaces 8bbac23 and solves arduino#159 (again)
1 parent 2dbe042 commit 9241b67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)