aboutsummaryrefslogtreecommitdiff
path: root/internal/rtree/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rtree/main.go')
-rw-r--r--internal/rtree/main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/rtree/main.go b/internal/rtree/main.go
index 842a67b..68faa36 100644
--- a/internal/rtree/main.go
+++ b/internal/rtree/main.go
@@ -139,7 +139,9 @@ func commandRemotes(index *Index) {
var items []string
for _, repo := range index.Repos {
for _, remote := range repo.Remotes {
- items = append(items, remote.URL.CompactURL())
+ for _, url := range remote.URLs {
+ items = append(items, url.CompactURL())
+ }
}
}
cli.Interface.ShowResultsSorted(items)