Improve interface

This commit is contained in:
John Mumm 2025-07-07 16:26:11 +02:00
parent 6012b9de8f
commit 29651edceb
No known key found for this signature in database
GPG key ID: 73D2271AFDC26EA8
9 changed files with 60 additions and 63 deletions

View file

@ -990,7 +990,7 @@ fn parse_find_links(input: &str) -> Result<Maybe<PipFindLinks>, String> {
if input.is_empty() {
Ok(Maybe::None)
} else {
IndexUrl::parse_preserving_trailing_slash(input)
IndexUrl::parse_find_links(input)
.map(Index::from_find_links)
.map(|index| Index {
origin: Some(Origin::Cli),