Skip to content

Commit c70560a

Browse files
committed
Fixed result conversion.
1 parent c17c018 commit c70560a

File tree

1 file changed

+3
-0
lines changed
  • internal/cli/feedback/result

1 file changed

+3
-0
lines changed

internal/cli/feedback/result/rpc.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ const (
172172
LibraryLocationPlatformBuiltin LibraryLocation = "platform"
173173
LibraryLocationReferencedPlatformBuiltin LibraryLocation = "ref-platform"
174174
LibraryLocationUnmanged LibraryLocation = "unmanaged"
175+
LibraryLocationProfile LibraryLocation = "profile"
175176
)
176177

177178
func NewLibraryLocation(r rpc.LibraryLocation) LibraryLocation {
@@ -186,6 +187,8 @@ func NewLibraryLocation(r rpc.LibraryLocation) LibraryLocation {
186187
return LibraryLocationUser
187188
case rpc.LibraryLocation_LIBRARY_LOCATION_UNMANAGED:
188189
return LibraryLocationUnmanged
190+
case rpc.LibraryLocation_LIBRARY_LOCATION_PROFILE:
191+
return LibraryLocationProfile
189192
}
190193
return LibraryLocationIDEBuiltin
191194
}

0 commit comments

Comments
 (0)