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 c1b6732

Browse files
committedFeb 17, 2021
Remove logging statement from FindLibraryUpdate.
Signed-off-by: Ruben Jenster <[email protected]>
1 parent 8cb83ad commit c1b6732

File tree

1 file changed

+0
-2
lines changed
  • arduino/libraries/librariesindex

1 file changed

+0
-2
lines changed
 

‎arduino/libraries/librariesindex/index.go

-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
package librariesindex
1717

1818
import (
19-
"fmt"
2019
"sort"
2120

2221
"github.com/arduino/arduino-cli/arduino/libraries"
@@ -138,7 +137,6 @@ func (idx *Index) FindLibraryUpdate(lib *libraries.Library) *Release {
138137
return nil
139138
}
140139
if lib.Version == nil {
141-
fmt.Printf("[WARN] version for library loaded from %s is nil\n", lib.InstallDir)
142140
return indexLib.Latest
143141
}
144142
if indexLib.Latest.Version.GreaterThan(lib.Version) {

0 commit comments

Comments
 (0)
Please sign in to comment.