First attempt to unstick Windows

This commit is contained in:
Tianon Gravi 2016-06-08 10:23:10 -07:00
parent e9ae2802d9
commit ac3ac95930
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ import (
// the file "library/repo" // the file "library/repo"
// (repoName, tagName, man, err) // (repoName, tagName, man, err)
func Fetch(library, repo string) (string, string, *Manifest2822, error) { func Fetch(library, repo string) (string, string, *Manifest2822, error) {
repoName := path.Base(repo) repoName := filepath.Base(repo)
tagName := "" tagName := ""
if tagIndex := strings.IndexRune(repoName, ':'); tagIndex > 0 { if tagIndex := strings.IndexRune(repoName, ':'); tagIndex > 0 {
tagName = repoName[tagIndex+1:] tagName = repoName[tagIndex+1:]