summaryrefslogtreecommitdiff
path: root/cli/cache/disk_cache.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/cache/disk_cache.rs')
-rw-r--r--cli/cache/disk_cache.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/cache/disk_cache.rs b/cli/cache/disk_cache.rs
index 5a2f11e3c..81379ac94 100644
--- a/cli/cache/disk_cache.rs
+++ b/cli/cache/disk_cache.rs
@@ -40,7 +40,7 @@ impl DiskCache {
if path.is_dir() {
return Ok(());
}
- fs::create_dir_all(&path).map_err(|e| {
+ fs::create_dir_all(path).map_err(|e| {
io::Error::new(e.kind(), format!(
"Could not create TypeScript compiler cache location: {:?}\nCheck the permission of the directory.",
path