diff options
Diffstat (limited to 'internal/postgres/insert_module.go')
| -rw-r--r-- | internal/postgres/insert_module.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/postgres/insert_module.go b/internal/postgres/insert_module.go index 3857d6ac..89ce8354 100644 --- a/internal/postgres/insert_module.go +++ b/internal/postgres/insert_module.go @@ -686,7 +686,7 @@ func (db *DB) ReInsertLatestVersion(ctx context.Context, modulePath string) (err // Not an alternative module path. Read the module information at the // latest good version. - pkgMetas, err := getPackagesInUnit(ctx, tx, modulePath, modulePath, lmv.GoodVersion, db.bypassLicenseCheck) + pkgMetas, err := getPackagesInUnit(ctx, tx, modulePath, modulePath, lmv.GoodVersion, -1, db.bypassLicenseCheck) if err != nil { return err } |
