Merge pull request #2255 from sushilkm/issues/2254

Fixes hard-coded linux based file-separator
pull/2253/head
Taylor Thomas 8 years ago committed by GitHub
commit 33bb15ef99

@ -56,8 +56,8 @@ func (h Home) Cache() string {
// CacheIndex returns the path to an index for the given named repository. // CacheIndex returns the path to an index for the given named repository.
func (h Home) CacheIndex(name string) string { func (h Home) CacheIndex(name string) string {
target := fmt.Sprintf("repository/cache/%s-index.yaml", name) target := fmt.Sprintf("%s-index.yaml", name)
return h.Path(target) return h.Path("repository", "cache", target)
} }
// Starters returns the path to the Helm starter packs. // Starters returns the path to the Helm starter packs.

Loading…
Cancel
Save