We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 586e101 commit bf687d5Copy full SHA for bf687d5
src/github/nag.rs
@@ -1219,11 +1219,12 @@ impl<'a> RfcBotComment<'a> {
1219
}
1220
1221
fn add_comment_url(issue: &Issue, msg: &mut String, comment_id: i32) {
1222
- let to_add = format!("https://github.com/{}/issues/{}#issuecomment-{}",
+ let url = format!("https://github.com/{}/{}/{}#issuecomment-{}",
1223
issue.repository,
1224
issue.number,
1225
+ if issue.is_pull_request { "pull" } else { "issues" },
1226
comment_id);
- msg.push_str(&to_add);
1227
+ msg.push_str(&url);
1228
1229
1230
fn maybe_add_pfcp_label(&self) {
0 commit comments