Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: arduino/arduino-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0e4559b4afcf8dad44f074db1d07fa5d7d40d523
Choose a base ref
..
head repository: arduino/arduino-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 83a9b40d4da781e23735ecb6cfd56260272f7625
Choose a head ref
Showing with 3 additions and 0 deletions.
  1. +3 −0 internal/cli/feedback/result/rpc.go
3 changes: 3 additions & 0 deletions internal/cli/feedback/result/rpc.go
Original file line number Diff line number Diff line change
@@ -172,6 +172,7 @@ const (
LibraryLocationPlatformBuiltin LibraryLocation = "platform"
LibraryLocationReferencedPlatformBuiltin LibraryLocation = "ref-platform"
LibraryLocationUnmanged LibraryLocation = "unmanaged"
LibraryLocationSketch LibraryLocation = "sketch"
)

func NewLibraryLocation(r rpc.LibraryLocation) LibraryLocation {
@@ -186,6 +187,8 @@ func NewLibraryLocation(r rpc.LibraryLocation) LibraryLocation {
return LibraryLocationUser
case rpc.LibraryLocation_LIBRARY_LOCATION_UNMANAGED:
return LibraryLocationUnmanged
case rpc.LibraryLocation_LIBRARY_LOCATION_SKETCH:
return LibraryLocationSketch
}
return LibraryLocationIDEBuiltin
}