[owners] Fix SuggestOwners when there is only one owner.
If there are less than two owners for the given paths, current implementation will get stuck in infinite loop. Change it to return any possible owner. Change-Id: I75f18e0a00057c58d227dac23dc8572f1fba23f5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2572802 Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org> Commit-Queue: Josip Sokcevic <sokcevic@google.com> Reviewed-by:Josip Sokcevic <sokcevic@google.com>
Showing
Please
register
or
sign in
to comment