mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-26 15:30:58 +01:00
Mark finished postponed linters as okay
Test Plan: Called it on a diff with postponed linters and no messages. Reviewers: mgummelt, epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4223
This commit is contained in:
parent
bd70693d84
commit
cd46fd4afe
1 changed files with 1 additions and 2 deletions
|
@ -77,8 +77,7 @@ final class ConduitAPI_differential_setdiffproperty_Method
|
|||
$diff->setLintStatus(DifferentialLintStatus::LINT_WARN);
|
||||
} else if (!empty($postponed_linters)) {
|
||||
$diff->setLintStatus(DifferentialLintStatus::LINT_POSTPONED);
|
||||
} else if ($results &&
|
||||
$diff->getLintStatus() === DifferentialLintStatus::LINT_NONE) {
|
||||
} else if ($diff->getLintStatus() != DifferentialLintStatus::LINT_SKIP) {
|
||||
$diff->setLintStatus(DifferentialLintStatus::LINT_OKAY);
|
||||
}
|
||||
$diff->save();
|
||||
|
|
Loading…
Reference in a new issue