summaryrefslogtreecommitdiff
path: root/goDep.redoGoMod.go
diff options
context:
space:
mode:
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"
}