Commit 33bb15ef authored by Taylor Thomas's avatar Taylor Thomas Committed by GitHub

Merge pull request #2255 from sushilkm/issues/2254

Fixes hard-coded linux based file-separator
parents 9856c234 84fc5b77
...@@ -56,8 +56,8 @@ func (h Home) Cache() string { ...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment