This commit is contained in:
Harsh Shandilya 2023-11-09 15:32:17 +05:30
parent b24b239a68
commit 40f1a31e73
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -77,7 +77,8 @@ async fn run() -> Result<()> {
return Err(anyhow!("Destination file length does not match! Source file was {src_len} bytes but {dst_len} bytes were written"));
}
std::fs::remove_file(source).context(format!("failed to remove {}", source.display()))?;
std::fs::remove_file(source)
.context(format!("failed to remove {}", source.display()))?;
debug!(
"Successfully moved {} to {}",
name.display(),