diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2024-10-14 18:01:51 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-14 12:31:51 +0000 |
commit | dfbf03eee798da4f42a1bffeebd8edd1d0095406 (patch) | |
tree | d08d28cc6b01b72b0233537abe89faf7a8cf85b7 /cli/util | |
parent | 3eda179220370e9c9093427fb694eed746548008 (diff) |
perf: use fast calls for microtask ops (#26236)
Updates deno_core to 0.312.0
Diffstat (limited to 'cli/util')
-rw-r--r-- | cli/util/fs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/util/fs.rs b/cli/util/fs.rs index a021ec19c..2ad3affc8 100644 --- a/cli/util/fs.rs +++ b/cli/util/fs.rs @@ -277,7 +277,7 @@ pub fn write_file_2<T: AsRef<[u8]>>( /// Similar to `std::fs::canonicalize()` but strips UNC prefixes on Windows. pub fn canonicalize_path(path: &Path) -> Result<PathBuf, Error> { - Ok(deno_core::strip_unc_prefix(path.canonicalize()?)) + Ok(deno_path_util::strip_unc_prefix(path.canonicalize()?)) } /// Canonicalizes a path which might be non-existent by going up the |