summaryrefslogtreecommitdiff
path: root/cli/disk_cache.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/disk_cache.rs')
-rw-r--r--cli/disk_cache.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/disk_cache.rs b/cli/disk_cache.rs
index 808cfe675..fdbe2cbd5 100644
--- a/cli/disk_cache.rs
+++ b/cli/disk_cache.rs
@@ -18,6 +18,10 @@ impl DiskCache {
}
}
+ // TODO(bartlomieju) this method is not working properly for Windows paths,
+ // Example: file:///C:/deno/js/unit_test_runner.ts
+ // would produce: C:deno\\js\\unit_test_runner.ts
+ // it should produce: file\deno\js\unit_test_runner.ts
pub fn get_cache_filename(self: &Self, url: &Url) -> PathBuf {
let mut out = PathBuf::new();