Skip to content

Commit

Permalink
?
Browse files Browse the repository at this point in the history
  • Loading branch information
Narsil committed Jan 7, 2025
1 parent 34ed39c commit 7fd75dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ impl ApiRepo {
.blob_path(&metadata.etag);
std::fs::create_dir_all(blob_path.parent().unwrap())?;

let lock = lock_file(blob_path.clone())?;
let lock = lock_file(blob_path.clone()).unwrap();
let mut tmp_path = blob_path.clone();
tmp_path.set_extension(EXTENSION);
let tmp_filename =
Expand Down
2 changes: 1 addition & 1 deletion src/api/tokio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ impl ApiRepo {
let blob_path = cache.blob_path(&metadata.etag);
std::fs::create_dir_all(blob_path.parent().unwrap())?;

let lock = lock_file(blob_path.clone()).await?;
let lock = lock_file(blob_path.clone()).await.unwrap();
progress.init(metadata.size, filename).await;
let mut tmp_path = blob_path.clone();
tmp_path.set_extension(EXTENSION);
Expand Down

0 comments on commit 7fd75dd

Please sign in to comment.