Skip to content

Commit 894e721

Browse files
connernilsenfacebook-github-bot
authored andcommitted
Absolutize typeshed path
Differential Revision: D88197568
1 parent bb8cf16 commit 894e721

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/pyrefly_config/src/config.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,6 +1096,9 @@ impl ConfigFile {
10961096
if let Some(import_root) = &self.import_root {
10971097
self.import_root = Some(import_root.absolutize_from(config_root));
10981098
}
1099+
if let Some(typeshed_path) = &self.typeshed_path {
1100+
self.typeshed_path = Some(typeshed_path.absolutize_from(config_root));
1101+
}
10991102
self.python_environment
11001103
.site_package_path
11011104
.iter_mut()

0 commit comments

Comments
 (0)