Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlong committed Dec 4, 2024
1 parent 4eaab42 commit e503a77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/http/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ pub(crate) async fn fetch_read_body<R: Runtime>(
match chunk {
Ok(bytes) => {
// Skip empty chunks
if bytes.len() > 0 {
if !bytes.is_empty() {
channel.send(&bytes)?;
}
}
Expand Down

0 comments on commit e503a77

Please sign in to comment.