Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 14ca8f2

Browse files
facchinmcmaglie
authored andcommittedMar 20, 2017
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

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.