Skip to content

Commit

Permalink
enabled PreFetch
Browse files Browse the repository at this point in the history
  • Loading branch information
cuixq committed Jan 10, 2025
1 parent a0b6e1b commit a17a26d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/scalibrextract/language/java/pomxmlnet/extractor.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,7 @@ func (e Extractor) Extract(ctx context.Context, input *filesystem.ScanInput) ([]
}
overrideClient.AddVersion(root, reqs)

// TODO: only run `PreFetch` for deps.dev client
// client.PreFetch(ctx, overrideClient, reqs, filepath.Join(input.Root, input.Path))
client.PreFetch(ctx, overrideClient, reqs, filepath.Join(input.Root, input.Path))
g, err := resolver.Resolve(ctx, root.VersionKey)
if err != nil {
return nil, fmt.Errorf("failed resolving %v: %w", root, err)
Expand Down

0 comments on commit a17a26d

Please sign in to comment.