fix: Correct variable assignment in patchwheel seeker reset

This commit is contained in:
Denis Bilenko (aider) 2025-03-04 11:51:04 +01:00
parent 7e747d29ac
commit 6b5fa7ad33
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ func PatchWheel(ctx context.Context, path, outputDir string) (string, error) {
}
// Reset record reader to start
seeker := recordReader.(io.Seeker)
seeker = recordReader.(io.Seeker)
seeker.Seek(0, io.SeekStart)
newRecord, err := patchRecord(recordReader, oldDistInfoPrefix, newDistInfoPrefix, metadataHash, metadataSize)