diff options
| author | Jeff Carr <[email protected]> | 2024-12-17 07:02:57 -0600 | 
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-17 07:02:57 -0600 | 
| commit | 5694d40fa34d8504df5a7722d2c15f31f97c3f9f (patch) | |
| tree | 0b4f8e8ea2b90f2bc6068b93eeb0fe25065574dc | |
| parent | 2141737e7c1efac1fe0cd929e4da5ad18397b43c (diff) | |
fixes for new gitpbv0.22.41
| -rw-r--r-- | addRepo.go | 2 | ||||
| -rw-r--r-- | main.go | 2 | 
2 files changed, 2 insertions, 2 deletions
@@ -64,7 +64,7 @@ func (c *controlBox) addRepo(path string) {  	}  	if c.GoPath.String() == "" { -		c.GoPath.SetText(repo.GoPath) +		c.GoPath.SetText(repo.GetGoPath())  	}  	lasttag := repo.GetLastTagVersion() @@ -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)  | 
