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 e625d65 commit ccc8d23Copy full SHA for ccc8d23
internal/arduino/sketch/profiles.go
@@ -447,10 +447,13 @@ func (l *ProfileLibraryReference) Match(other *ProfileLibraryReference) bool {
447
if l.InstallDir != nil {
448
return other.InstallDir != nil && l.InstallDir.EqualsTo(other.InstallDir)
449
}
450
+ if other.InstallDir != nil {
451
+ return false
452
+ }
453
if l.GitURL != nil {
454
return other.GitURL != nil && l.GitURL.String() == other.GitURL.String()
455
- if other.InstallDir != nil {
456
+ if other.GitURL != nil {
457
return false
458
459
if l.Library != other.Library {
0 commit comments