Skip to content

Commit ae4e1f8

Browse files
fix: remove email from author label (#45)
Currently authors report as `$username <None>` because the `Option<String>` `email` is not set. This PR removes it from label.
1 parent 12e832f commit ae4e1f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gh/author.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use super::{GetDetail, GetEdit, GetLabel};
44

55
impl GetLabel for Author {
66
fn get_label(&self) -> String {
7-
format!("{} <{:?}>", self.login, self.email)
7+
self.login.to_string()
88
}
99
}
1010
impl GetEdit for Author {

0 commit comments

Comments
 (0)