wrong lookup
This commit is contained in:
parent
d3f8613bd8
commit
b80b7baa2d
2
clone.go
2
clone.go
|
@ -20,7 +20,7 @@ func clone(gopath string) (*gitpb.Repo, error) {
|
||||||
}
|
}
|
||||||
os.Setenv("REPO_AUTO_CLONE", "true")
|
os.Setenv("REPO_AUTO_CLONE", "true")
|
||||||
// pb, _ := forge.NewGoPath(gopath)
|
// pb, _ := forge.NewGoPath(gopath)
|
||||||
check := forge.Repos.FindByFullPath(gopath)
|
check := forge.FindByGoPath(gopath)
|
||||||
if check != nil {
|
if check != nil {
|
||||||
if check.IsValidDir() {
|
if check.IsValidDir() {
|
||||||
// repo already exists and is valid
|
// repo already exists and is valid
|
||||||
|
|
Loading…
Reference in New Issue