Skip to content
This repository was archived by the owner on Mar 14, 2023. It is now read-only.

Commit a4fd334

Browse files
Change mapping to account for upstream rust-lang/rust changes
Hopefully this will make PRs not get universally assigned to Niko.
1 parent c3b2044 commit a4fd334

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

highfive/newpr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,8 @@ def choose_reviewer(self, repo, owner, diff, exclude):
262262
cur_dir = "/".join(parts[:2])
263263

264264
# A few heuristics to get better reviewers
265-
if cur_dir.startswith('src/librustc'):
266-
cur_dir = 'src/librustc'
265+
if cur_dir.startswith('compiler/'):
266+
cur_dir = 'compiler'
267267
if cur_dir == 'src/test':
268268
cur_dir = None
269269
if cur_dir and cur_dir not in counts:

0 commit comments

Comments
 (0)