oops
This commit is contained in:
parent
6f66340d82
commit
11d1136797
|
@ -76,7 +76,7 @@ func (repo *Repo) ParseGoSum() bool {
|
||||||
// attempt to parse go.* files in a directory
|
// attempt to parse go.* files in a directory
|
||||||
func GoSumParseDir(moddir string) (*GoDeps, error) {
|
func GoSumParseDir(moddir string) (*GoDeps, error) {
|
||||||
isprim, err := computePrimitiveNew(moddir)
|
isprim, err := computePrimitiveNew(moddir)
|
||||||
if err == nil {
|
if err != nil {
|
||||||
// "go mod init" failed
|
// "go mod init" failed
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue