Abort findProjects using an error
requested to merge 324626-search-single-dir-using-error into 324626-gemnasium-maven-search-single-dir
What does this MR do?
Use an error to abort the search right after compatible projects have been detected in a directory, when search mode is SearchSingleDir
. This is an improvement to !241 (merged), to make the code more readable.
What are the relevant issue numbers?
Related to gitlab-org/gitlab#324626 (closed), because it's related to !241 (merged).
Does this MR meet the acceptance criteria?
- [NA] Changelog entry added
-
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by Fabien Catteau