Skip to content

Commit

Permalink
Better name for the additions/deletions PR message fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
adamnfish committed Oct 28, 2024
1 parent ff3aa43 commit 523a605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,9 @@ fn make_message(pull_request: GithubPullRequest, show_pr_age: bool) -> String {
format!("👤 {}", pull_request.user.login)
};

let changes = format!("[+{}/-{}]", pull_request.additions, pull_request.deletions);
let diff_size = format!("[+{}/-{}]", pull_request.additions, pull_request.deletions);

format!("{}{} \n\n{} {}\n", message, age_output, user, changes)
format!("{}{} \n\n{} {}\n", message, age_output, user, diff_size)
}

fn get_age(d1: DateTime<Utc>, d2: DateTime<Utc>) -> String {
Expand Down

0 comments on commit 523a605

Please sign in to comment.