Skip to content

Commit 1a564ae

Browse files
committed
fix: Use Parse instead of ParseLax
1 parent b3e5140 commit 1a564ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

module/go_mod/go.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func (i *Inspector) InspectProject(ctx context.Context) error {
3434
return errors.WithMessage(e, "Open GoMod file")
3535
}
3636
logger.Debug("Parsing go.mod")
37-
f, e := modfile.ParseLax(filepath.Base(modFilePath), data, nil)
37+
f, e := modfile.Parse(filepath.Base(modFilePath), data, nil)
3838
if e != nil {
3939
return errors.WithMessage(e, "Parse go mod failed")
4040
}

0 commit comments

Comments
 (0)