зеркало из https://github.com/golang/dep.git
Fix shadowed variable assignment
This commit is contained in:
Родитель
497b0577c4
Коммит
6bb3e27170
|
@ -310,7 +310,7 @@ func (sm *SourceMgr) getProjectManager(id ProjectIdentifier) (*pmState, error) {
|
||||||
sn := sanitizer.Replace(url)
|
sn := sanitizer.Replace(url)
|
||||||
path := filepath.Join(sm.cachedir, "sources", sn)
|
path := filepath.Join(sm.cachedir, "sources", sn)
|
||||||
|
|
||||||
r, err := vcs.NewRepo(url, path)
|
r, err = vcs.NewRepo(url, path)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче