Skip to content

Commit 96316de

Browse files
author
Adinata Wijaya
committed
fix rename temp file to cache file
1 parent 8e06090 commit 96316de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/repo_tools/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ async fn get_file_cached<P: AsRef<Path>>(
121121
let temp_file =
122122
primitives::download_file(metadata, &repo_url, access_token, randomizer_bytes).await?;
123123
if cache_file.is_file() {
124-
debug!("cache file {:?} is already written from other process", &cache_file);
124+
info!("cache file {:?} is already written from other process", &cache_file);
125125
} else {
126126
fs::rename(&temp_file.path(), cache_file.as_path())
127127
.map_err(|e| {

0 commit comments

Comments
 (0)