1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00

Just return path

This commit is contained in:
Arnau Orriols 2024-07-15 13:42:10 +02:00
parent 397f023a5e
commit b74aef2725
No known key found for this signature in database
GPG key ID: FDC8A0D627F2BAB4

View file

@ -264,7 +264,7 @@ impl FileSystem for InMemoryFs {
} }
fn realpath_sync(&self, path: &Path) -> FsResult<PathBuf> { fn realpath_sync(&self, path: &Path) -> FsResult<PathBuf> {
RealFs.realpath_sync(path) Ok(path.to_path_buf())
} }
async fn realpath_async(&self, path: PathBuf) -> FsResult<PathBuf> { async fn realpath_async(&self, path: PathBuf) -> FsResult<PathBuf> {
self.realpath_sync(&path) self.realpath_sync(&path)