From 31a22fdd79b6f8921528a3dcba3b5006e8e89bc9 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Tue, 9 Jul 2024 10:17:34 +0100 Subject: [PATCH] fix compile --- crates/red_knot_module_resolver/src/path.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/red_knot_module_resolver/src/path.rs b/crates/red_knot_module_resolver/src/path.rs index db9aae91ecce4..e0958dad3f041 100644 --- a/crates/red_knot_module_resolver/src/path.rs +++ b/crates/red_knot_module_resolver/src/path.rs @@ -329,7 +329,7 @@ impl<'a> ModuleResolutionPathRefInner<'a> { TypeshedVersionsQueryResult::DoesNotExist => false, TypeshedVersionsQueryResult::Exists | TypeshedVersionsQueryResult::MaybeExists => match path { FilePathRef::System(path) => resolver.db.system().path_exists(&path.join("__init__.pyi")), - FilePathRef::Vendored(path) => resolver.db.vendored().path_exists(path.join("__init__.pyi")), + FilePathRef::Vendored(path) => resolver.db.vendored().exists(path.join("__init__.pyi")), }, } }