From 233f7bca767aab9df55adea409e9820050631586 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 17 Dec 2024 06:37:14 -0600 Subject: lots of changes to isolate exec 'git' --- goDep.redoGoMod.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'goDep.redoGoMod.go') diff --git a/goDep.redoGoMod.go b/goDep.redoGoMod.go index 633f07f..ee9e669 100644 --- a/goDep.redoGoMod.go +++ b/goDep.redoGoMod.go @@ -13,7 +13,7 @@ func (repo *Repo) ValidGoSum() error { if !repo.Exists("go.mod") { return errors.New("ValidGoSum() go.mod is missing") } - if repo.GoPrimitive { + if repo.GoInfo.GoPrimitive { if !repo.Exists("go.mod") { return errors.New("GoPrimitive == true, but go.mod is missing") } -- cgit v1.2.3