From 647f38be31f233519cbe5c124fd6e24e9cab2a90 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Wed, 15 May 2024 12:25:55 -0400 Subject: [PATCH] Add missing `"directory"` branch in source match (#3608) ## Summary Just my oversight. --- crates/uv-resolver/src/lock.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/uv-resolver/src/lock.rs b/crates/uv-resolver/src/lock.rs index 3775be8bd..bc5ecbe45 100644 --- a/crates/uv-resolver/src/lock.rs +++ b/crates/uv-resolver/src/lock.rs @@ -461,6 +461,10 @@ impl std::str::FromStr for Source { kind: SourceKind::Path, url, }), + "directory" => Ok(Source { + kind: SourceKind::Directory, + url, + }), name => Err(SourceParseError::unrecognized_source_name(s, name)), } }