This commit is contained in:
Jeff Carr 2025-02-08 06:33:30 -06:00
parent 6f66340d82
commit 11d1136797
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ func (repo *Repo) ParseGoSum() bool {
// attempt to parse go.* files in a directory
func GoSumParseDir(moddir string) (*GoDeps, error) {
isprim, err := computePrimitiveNew(moddir)
if err == nil {
if err != nil {
// "go mod init" failed
return nil, err
}