Skip to content

Commit

Permalink
don't use reference when is_empty-ing
Browse files Browse the repository at this point in the history
  • Loading branch information
FredrikAugust committed May 2, 2024
1 parent cdf85f5 commit 78d1143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async fn main() -> Result<()> {
let filtered_pull_requests = github::api::filter_out_renovate_pull_requests(all_pull_requests);
info!("{} pull request(s) left after filtering out dependency updates", &filtered_pull_requests.len());

if &filtered_pull_requests.is_empty() {
if filtered_pull_requests.is_empty() {
info!("No pull requests left after filtering. Exiting early.");
return Ok(());
}
Expand Down

0 comments on commit 78d1143

Please sign in to comment.