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 c606c06 commit 95bab68Copy full SHA for 95bab68
src/handlers/mentions.rs
@@ -62,13 +62,13 @@ pub(super) async fn parse_input(
62
.paths
63
.iter()
64
// Only mention matching paths.
65
- // Don't mention if the author is in the list.
+ // Don't mention if only the author is in the list.
66
.filter(|(path, MentionsPathConfig { cc, .. })| {
67
let path = Path::new(path);
68
file_paths.iter().any(|p| p.starts_with(path))
69
&& !cc
70
71
- .any(|r| r.trim_start_matches('@') == &event.issue.user.login)
+ .all(|r| r.trim_start_matches('@') == &event.issue.user.login)
72
})
73
.map(|(key, _mention)| key.to_string())
74
.collect();
0 commit comments