Fixed nil pointer exception on some rare case with multiple libs selection (#477)
* Fixed nil exception on some rare case with multiple libs selection The closestmatch algorithm may return 'nil' if none of the candidate libraries has enough matching of the name. In this case just return the first library in alphanumeric ordering. See https://github.com/arduino/Arduino/issues/9242 * Run of go mod tidy * Fixed typo
Showing
... | ... | @@ -43,7 +43,6 @@ require ( |
go.bug.st/serial.v1 v0.0.0-20180827123349-5f7892a7bb45 | ||
golang.org/x/net v0.0.0-20190311183353-d8887717615a | ||
golang.org/x/text v0.3.0 | ||
google.golang.org/appengine v1.4.0 // indirect | ||
google.golang.org/genproto v0.0.0-20190327125643-d831d65fe17d // indirect | ||
google.golang.org/grpc v1.21.1 | ||
gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce // indirect | ||
... | ... |
Please register or sign in to comment