dancryer / PHPCI

PHPCI is a free and open source continuous integration tool specifically designed for PHP.
BSD 2-Clause "Simplified" License
2.42k stars 441 forks source link

ProjectController::build(): Moved the check on project #1325

Closed Ooypunk closed 6 years ago

Ooypunk commented 7 years ago

ProjectController::build(): Moved the check on whether the project could be found up: no point in trying to get a list of branches of a project that doesn't even exist.

Contribution Type: refactor Link to Intent to Implement: - Link to Bug: -

This pull request affects the following areas:

In raising this pull request, I confirm the following (please check boxes):

Detailed description of change: Moved the check on whether the project could be found up: no point in trying to get a list of branches of a project that doesn't even exist.