Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
Fix missing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gwendalF committed Oct 13, 2023
1 parent d93a59d commit a70a0b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ fn scan_entry(path: &CanonicalPath, metadata: Metadata) -> Result<IndexEntry> {

let size = metadata.len();
if size == 0 {
return Err(std::io::Error::new(
Err(std::io::Error::new(
std::io::ErrorKind::InvalidData,
"Empty resource",
))?;
Expand Down

0 comments on commit a70a0b1

Please sign in to comment.