Skip to content

Commit ded85ba

Browse files
committed
Remove ghost special case from find_reviewer_from_names
It should be handled separately in PR body and PR comment.
1 parent 7b81000 commit ded85ba

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/handlers/assign.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -696,11 +696,6 @@ async fn find_reviewer_from_names(
696696
candidates
697697
);
698698

699-
// Special case user "ghost", we always skip filtering
700-
if candidates.contains(GHOST_ACCOUNT) {
701-
return Ok(GHOST_ACCOUNT.to_string());
702-
}
703-
704699
// Return unfiltered list of candidates
705700
Ok(candidates
706701
.into_iter()

0 commit comments

Comments
 (0)