diff options
| author | Jeff Carr <[email protected]> | 2025-09-13 05:33:31 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-13 05:33:31 -0500 |
| commit | 2a47f1e547d2cda3d85d5e6c8c78a663b139fc9f (patch) | |
| tree | 430df61927de88fcc1be5dfeb7a05e224b30661f /common.go | |
| parent | 719287c3bfa349c74c2ce86b01299c97169ec3a8 (diff) | |
cleaning up obscure git casesv0.0.127
Diffstat (limited to 'common.go')
| -rw-r--r-- | common.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -14,7 +14,10 @@ func (repo *Repo) SetMasterBranchName(s string) { func (repo *Repo) GetGoPath() string { if repo.GoInfo == nil { - return "" + return repo.Namespace + } + if repo.GoInfo.GoPath == "" { + return repo.Namespace } return repo.GoInfo.GoPath } |
