Skip to content

Commit

Permalink
Fix ref #2692
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Mar 27, 2024
1 parent 682e7e0 commit d9cf413
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/uv-resolver/src/finder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ impl<'a> DistFinder<'a> {
| uv_client::ErrorKind::Offline(_) => {
if let Some(flat_index) = self.flat_index.get(&requirement.name) {
Self::select_from_flat_index(requirement, flat_index)
.map(|dist| dist.into())
} else {
return Err(ResolveError::Client(err));
}
Expand Down

0 comments on commit d9cf413

Please sign in to comment.