Skip to content

Commit

Permalink
Update opts.go
Browse files Browse the repository at this point in the history
Co-authored-by: Mike Brown <[email protected]>
Signed-off-by: Mike Zappa <[email protected]>
  • Loading branch information
MikeZappa87 and mikebrow authored Jul 23, 2024
1 parent 8f59f25 commit 0ae33d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opts.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,5 +324,5 @@ func isValidSize(filepath string, maxSize int64) (bool, error) {
return false, err
}

return fileInfo.Size() < maxSize, nil
return fileInfo.Size() <= maxSize, nil
}

0 comments on commit 0ae33d2

Please sign in to comment.