aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/worker/fetch.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/worker/fetch.go b/internal/worker/fetch.go
index 94a4b446..f4e83f47 100644
--- a/internal/worker/fetch.go
+++ b/internal/worker/fetch.go
@@ -117,7 +117,6 @@ func (f *Fetcher) FetchAndUpdateState(ctx context.Context, modulePath, requested
// Check if the latest good version of the module is not the one in search_documents,
// and insert it there and in imports_unique if so.
- // Do not bother if this is an alternative module path.
if lmv == nil || lmv.CookedVersion != ft.ResolvedVersion {
if err := f.DB.ReInsertLatestVersion(ctx, modulePath); err != nil {
log.Error(ctx, err)