mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-29 18:22:41 +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);
|
$diff->setLintStatus(DifferentialLintStatus::LINT_WARN);
|
||||||
} else if (!empty($postponed_linters)) {
|
} else if (!empty($postponed_linters)) {
|
||||||
$diff->setLintStatus(DifferentialLintStatus::LINT_POSTPONED);
|
$diff->setLintStatus(DifferentialLintStatus::LINT_POSTPONED);
|
||||||
} else if ($results &&
|
} else if ($diff->getLintStatus() != DifferentialLintStatus::LINT_SKIP) {
|
||||||
$diff->getLintStatus() === DifferentialLintStatus::LINT_NONE) {
|
|
||||||
$diff->setLintStatus(DifferentialLintStatus::LINT_OKAY);
|
$diff->setLintStatus(DifferentialLintStatus::LINT_OKAY);
|
||||||
}
|
}
|
||||||
$diff->save();
|
$diff->save();
|
||||||
|
|
Loading…
Reference in a new issue