We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef6463b commit c836e8cCopy full SHA for c836e8c
arduino/libraries/librariesmanager/librariesmanager.go
@@ -209,7 +209,8 @@ func (sc *LibrariesManager) LoadLibrariesFromDir(librariesDir *LibrariesDir) err
209
// name and version or, if the version is nil, the library installed
210
// in the sketchbook.
211
func (sc *LibrariesManager) FindByReference(libRef *librariesindex.Reference) *libraries.Library {
212
- alternatives, have := sc.Libraries[libRef.Name]
+ saneName := utils.SanitizeName(libRef.Name)
213
+ alternatives, have := sc.Libraries[saneName]
214
if !have {
215
return nil
216
}
0 commit comments