aboutsummaryrefslogtreecommitdiff
path: root/internal/rtree/remote.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rtree/remote.go')
-rw-r--r--internal/rtree/remote.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/rtree/remote.go b/internal/rtree/remote.go
index 2973b8c..36e12dd 100644
--- a/internal/rtree/remote.go
+++ b/internal/rtree/remote.go
@@ -104,7 +104,7 @@ func (u RemoteURL) CheckoutPath() (string, error) {
// MarshalYAML implements the yaml.Marshaler interface.
func (u RemoteURL) MarshalYAML() (interface{}, error) {
//store URLs in the index in the compact format
- return u.CompactURL(), nil
+ return u.CanonicalURL(), nil
}
// UnmarshalYAML implements the yaml.Unmarshaler interface.