Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/vfs/src/vfs_path.rs')
| -rw-r--r-- | crates/vfs/src/vfs_path.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/vfs/src/vfs_path.rs b/crates/vfs/src/vfs_path.rs index ffd673573a..75dca8a57e 100644 --- a/crates/vfs/src/vfs_path.rs +++ b/crates/vfs/src/vfs_path.rs @@ -357,7 +357,7 @@ impl VirtualPath { if !res.pop() { return None; } - path = &path["../".len()..] + path = &path["../".len()..]; } path = path.trim_start_matches("./"); res.0 = format!("{}/{}", res.0, path); |