diff --git a/ext/fs/in_memory_fs.rs b/ext/fs/in_memory_fs.rs index bed6055a22..975b497cfd 100644 --- a/ext/fs/in_memory_fs.rs +++ b/ext/fs/in_memory_fs.rs @@ -264,7 +264,7 @@ impl FileSystem for InMemoryFs { } fn realpath_sync(&self, path: &Path) -> FsResult { - RealFs.realpath_sync(path) + Ok(path.to_path_buf()) } async fn realpath_async(&self, path: PathBuf) -> FsResult { self.realpath_sync(&path)