1
0
Fork 0
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:
vrana 2012-12-17 14:37:39 -08:00
parent bd70693d84
commit cd46fd4afe

View file

@ -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();