1
0
Fork 0

Correctly skip project classification for utils/

`project` is a list here, not a string.
This commit is contained in:
Geoffrey Martin-Noble 2021-07-28 15:06:01 -07:00 committed by Mikhail Goncharov
parent 0522d2b402
commit c47e555d0f

View file

@ -139,7 +139,8 @@ class ChooseProjects:
unmapped_changes = False
for changed_file in changed_files:
project = changed_file.split('/', maxsplit=1)
if project == 'utils':
# There is no utils project.
if project[0] == 'utils':
continue
if (project is None) or (project[0] not in self.all_projects):
unmapped_changes = True