fix(run): canonicalize complete Windows Tomcat roots (#2096)

Цей коміт міститься в:
Shohruh Ismoilov authored and GitHub committed 2026-11-08 18:08:14 +08:00
1 джерело 86f390f2a9
коміт f42d10d86c
1 file changed
+4
+4
Переглянути файл
@@ -395,6 +395,10 @@ fn canonical_path(path: &Path) -> IdeResult<PathBuf> {
let mut resolved = PathBuf::new();
for component in std::path::absolute(path)?.components() {
match component {
std::path::Component::Prefix(_) => {
resolved.push(component);
continue;
}
std::path::Component::ParentDir => {
resolved.pop();
}