summaryrefslogtreecommitdiff
path: root/goDep.redoGoMod.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-01 22:23:38 -0600
committerJeff Carr <[email protected]>2024-12-01 22:23:38 -0600
commit45fc9ea257d3f6bd3987858cc472c3e17f50c046 (patch)
tree9ea0823baf600c085ead565b04ff3866726da117 /goDep.redoGoMod.go
parent2ebdd32040635ac84d173ebb315dc65b35af2b57 (diff)
autogenpb now completely automatic
Diffstat (limited to 'goDep.redoGoMod.go')
-rw-r--r--goDep.redoGoMod.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/goDep.redoGoMod.go b/goDep.redoGoMod.go
index ab55fa9..f15ed40 100644
--- a/goDep.redoGoMod.go
+++ b/goDep.redoGoMod.go
@@ -124,6 +124,9 @@ func (repo *Repo) parseGoSum() (bool, error) {
return true, nil
}
func (repo *Repo) RepoType() string {
+ if repo == nil {
+ return "nil"
+ }
if repo.GetGoPlugin() {
return "plugin"
}