mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
also this
This commit is contained in:
parent
a0f8462ff1
commit
95a11b7167
1 changed files with 1 additions and 0 deletions
|
@ -194,6 +194,7 @@ impl FirstRunCodeCacheStrategy {
|
|||
Ok(()) => {
|
||||
if let Err(err) = std::fs::rename(&temp_file, &self.file_path) {
|
||||
log::debug!("Failed to rename code cache: {}", err);
|
||||
let _ = std::fs::remove_file(&temp_file);
|
||||
} else {
|
||||
log::debug!("Serialized {} code cache entries", count);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue