Skip to content

Commit 1ab5861

Browse files
authored
email: Simplify token_exposed context (#11576)
1 parent 9cd62dc commit 1ab5861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/github/secret_scanning.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ async fn send_notification_email(
236236
reporter => "GitHub",
237237
source => alert.source,
238238
token_name => token.name,
239-
url => if alert.url.is_empty() { "" } else { &alert.url }
239+
url => &alert.url,
240240
},
241241
)?;
242242

0 commit comments

Comments
 (0)