summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 392f80e..dd5109c 100644
--- a/main.go
+++ b/main.go
@@ -43,7 +43,7 @@ func main() {
forge = forgepb.Init()
os.Setenv("REPO_WORK_PATH", forge.GetGoSrc())
- repo = forge.Repos.FindByGoPath(argv.Repo)
+ repo = forge.FindByGoPath(argv.Repo)
if repo == nil {
log.Info("repo not found. you need to clone", argv.Repo)
os.Exit(-1)